DEV Community

Cover image for I'm a professional React developer, and here's how I set up Sequelize with MySQL inside of Docker Compose for Microservices. #2
Better Coding Academy
Better Coding Academy

Posted on • Updated on

I'm a professional React developer, and here's how I set up Sequelize with MySQL inside of Docker Compose for Microservices. #2

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)

Collapse
 
mattmazzola profile image
Matt Mazzola

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...

Collapse
 
mattmazzola profile image
Matt Mazzola

Oh found it: github.com/lucaschen/microservices...

Seems like part of babel config, not webpack.

Ok, better question, Why do you prefer that?

Collapse
 
bettercodingacademy profile image
Better Coding Academy

More flexibility and clearer path definitions. Additionally, I can also add more aliases as I see fit, depending on the project structure.

Collapse
 
mandaputtra profile image
Manda Putra

Nice video, I wonder why you always said professional react developer on the title.

Collapse
 
haroonabbasi profile image
Haroon Abbasi

Target SEO Keywords :)

Collapse
 
ashoutinthevoid profile image
Full Name

Is there a non-video version?