Build a NodeJS microservice and deploy it to Docker
Build a NodeJS microservice and deploy it to Docker
Build a NodeJS microservice and deploy it to Docker
Stack
We’ll use a simple NodeJS service with a MongoDB for our backend.
- NodeJS 7.5.0
- MongoDB 3.4.2
- Docker for Mac 1.13.0
Architecture
Microservices
- Movies Service example
- Cinema Catalog Service example
- Booking Service example
- Payment Service example
- Notification Service example
- API Gateway Service example
Api Gateway
An API Gateway is a server that is the single entry point into the system. It is similar to the Facade pattern from object oriented design.
The API Gateway encapsulates the internal system architecture and provides an API that is tailored to each client. It might have other responsibilities such as authentication, monitoring, load balancing, caching, request shaping and management, and static response handling.
Blog posts
- Build a NodeJS cinema microservice and deploying it with docker (part 1)
- Build a NodeJS cinema microservice and deploying it with docker (part 2)
- Build a NodeJS cinema booking microservice and deploying it with docker (part 3)
- Build a NodeJS cinema microservice and deploying it with docker (part 4)
- Deploy a Nodejs microservices to a Docker Swarm Cluster (Docker from zero to hero)