Starter template for developing Node.js Microservices with Docker for containerization and Nginx as a reverse proxy to route user requests to the appropriate microservice.
- Clone the repo
- Install node, docker and docker compose on your system.
- Run
npm install
to install dependencies in both/users
and/store
folders. - Run
docker compose up --build -d
to build the docker images. - Run
docker-compose up
to start the container.
- Go to
http://localhost/users
you should see the following respone
- Go to
http://localhost/store
you should see the following respone