Micro services that split an order in the list of parcels according weight and quantity
Stack:
- Docker
https://www.docker.comcontainer - Moleculer
https://moleculer.servicesmicro services - Nats
https://nats.iotransport - Traefik
https://traefik.io/router
Docker must be installed first
npm install
npm run dc:up
npm run dev
then in a browser http://localhost:3000
Traefik dashboard is accessible at http://localhost:4001
npm run dev: Start development modenpm run start: Start production modenpm test: Run testsnpm run dc:up: Start the stack with Docker Composenpm run dc:down: Stop the stack with Docker Compose
Check https://github.com/appshore/OrdersToParcels to see the same services running as Nodejs command line