Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 843 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 843 Bytes

Micro services that split an order in the list of parcels according weight and quantity

Stack:

  • Docker https://www.docker.com container
  • Moleculer https://moleculer.services micro services
  • Nats https://nats.io transport
  • Traefik https://traefik.io/ router

Stack in action

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

Getting started

  • npm run dev: Start development mode
  • npm run start: Start production mode
  • npm test: Run tests
  • npm run dc:up: Start the stack with Docker Compose
  • npm 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