Update: Part 3 is out!
About Me: I've been a professional web developer for just over 10 years now. I'm currently the lead web development instructor at Better Coding Academy, and as part of what I do, I post videos on our YouTube channel at https://www.youtube.com/c/BetterCodingAcademy.
(Subscribe for awesome web development content!)
This is part 2 in a full tutorial on how to set up a React/Node.js app with a microservices architecture. (Here's part 1!)
In this video I set up two MySQL containers using Docker Compose, and then use Sequelize to run database migrations on the databases within both containers.
I hope you enjoy!
Happy coding!
Full source code: https://github.com/parkroolucas/microservices-demo
Top comments (6)
Maybe I missed it in the earlier video but is there a link to the part where you explain the hashtag in the import path?
A lot of the files used
import X from #root/a/b/c
and I wasn't familiar with the allowing # in the path. I assume it's different that the normal roots which start with slash/a/b/c
but yet it looks to go to the same location and I didn't see any special webpack config. Maybe it's ignored and only presentational?github.com/lucaschen/microservices...
Oh found it: github.com/lucaschen/microservices...
Seems like part of babel config, not webpack.
Ok, better question, Why do you prefer that?
More flexibility and clearer path definitions. Additionally, I can also add more aliases as I see fit, depending on the project structure.
Nice video, I wonder why you always said professional react developer on the title.
Target SEO Keywords :)
Is there a non-video version?