Search code examples
dockerdocker-composemicroservicesseneca

How to implement microservices [Node.js]?


I am new to this, what is a best approach to implement microservices?

I found fw like seneca but it is little bit confusing...

Is there any tut how to create jwt auth, mongodb and other staff in microservices?


Solution

  • Take a look on Docker.

    With docker-compose you can play with several services with an easy integration without worrying about the IP addresses to connect them.

    Also if you add nginx to your stack, it's gonna be very easy to scale those services, there are several videos and tutorials that you can lookup to help you get started.

    I've heard aboutseneca, but I haven't used, I think you shouldn't depend on a specific framework because one of the ideas behind of Microservices is the low coupling.