Build a NodeJS cinema microservice and deploying it with docker

Build a NodeJS cinema microservice and deploying it with docker

This a the first chapter of the series “Build a NodeJS cinema microservice”, this series is about, building NodeJS microservices and deploying them into a Docker Swarm Cluster.

[…]

I highly suggest to follow up my previous article “How deploy a mongoDB replica set with Docker”, to have a database service up and running.

[…]

In this architecture we saw that we have 3 different devices who uses the microservice, the POS(point of sale), a mobile/tablet, and a computer, where the POS and the mobile/tablet has its own application developed (in electron) and consumes directly the microservice, and the computer accesses the microservice through web apps (web apps are considered by the gurus also like microservices 🤓).

[…]

Now is time to put it in a Docker container as we mention it in the title of the article😁.

But first what we need is, have the Docker environment from the article for “creating a mongoDB replica set with docker”, and if you don’t have it you will have to do some additional modification steps to setup a database to our microservice, here some commands to be up to date just for testing purposes our movies-service.

[…]