This demo application aims to demonstrate how to construct a multicontainerized application using dockercompose.
- Docker
- Node
- Package manager like NPM , YARN
- clone application
- Build and run application docker-compose -f .\docker-compose.img.yaml up --build
- Stop application
docker-compose -f .\docker-compose.img.yaml down
It composed of two microservices such as web (front end) and mongodb (store data).
- http://localhost:8080/ -- hello method
- http://localhost:8080/all -- retrieve data stored into mongo database.
- http://localhost:8080/save-- save data posted. sample user data { "email":"ajeerkhan7@gmail.com" }