Skip to content

NodeJS microservices that split orders in parcels then calculate shipping revenue and weight

Notifications You must be signed in to change notification settings

appshore/OrdersToParcelsMicroservices

Repository files navigation

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

About

NodeJS microservices that split orders in parcels then calculate shipping revenue and weight

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published