NodeJs-App-Microservices icon indicating copy to clipboard operation
NodeJs-App-Microservices copied to clipboard

Sample microservices app to show how to implement microservices architecture on nodejs and deploying on docker-compose

NodeJs Project via Docker - Microservices

Simple Node.js Project to show how microservices architecture can be built and deployed on Docker.

Easy to start & stop the app

  • Start all services by the following command:
docker-compose up

getAllRestaurants

  • Stop & remove all the docker instances by the following command:
docker-compose stop

getAllRestaurants

  • If you have a problem about sharing local drives for dockers on windows, you can try this: Docker -> Settings -> Resources -> File Sharing If the checkbox is not clicked, click and Apply & Restart Docker

Problem solved - Stackoverflow Sharing volumes problem - win

Api tests on Postman:

Get all restaurants api

getAllRestaurants

Post an order api

postOrder