mPharma Microservices with RabbitMQ

mPharma Diagnosis Microservices quick app using NestJS / RabbitMQ.

Dependencies & Services

Get started Notes:

  • Use git submodule update --init --recursive command to update/fetch submodules.
  • Update .env file with the necessary credentials
  • Diagnosis-service endpoint: http://localhost:5001
  • Notification-service endpoint: http://localhost:5002

Run in local(Individual service): Not recommended

To start diagnosis-service folder cd diagnosis-service

npm install
npm run start:dev

To start notification-service folder cd notification-service

npm install
npm run start:dev

Run Local Env (Using Docker): Recommended

docker-compose up

Docker Notes:

  • Use name of the service to connect service internally with docker compose environment.
  • for rebuild services use command docker-compose up --build.
  • for shutdown the docker container use command docker-compose down.

To access diagnosis-service : http://localhost:5001

To access notification-service : http://localhost:5002