- Clone the repository
git clone https://github.com/HectorMartinDama/microservice-nestjs-rabbitmq.git
- Install dependencies the both
cd microservice-nestjs-rabbitmq
# Install dependencies of the api
cd api
npm install
# Install dependencies of the microservice
cd email-microservice
npm install
- Up the rabbitmq instancie (you need to have docker installed on your machine)
cd email-microservice
docker-compose up -d
Go to the url http://localhost:15672 in your browser. The user and password of the image it's guest
guest
.
Running the app development | npm run start |
Runnig the app watch mode | npm run start:dev |
Build the app | npm run build |
Up the rabbitmq instancie | docker-compose up -d |