Description
Nest framework TypeScript repository.
RabbitMQ is the most widely-deployed open-source and lightweight message broker which supports multiple messaging protocols.
Basic documentation
rabbitmq with Docker
With the docker-compose.yml file, we can easily spin up a RabbitMQ server with our customized definitions and configurations.
$ docker-compose up
or in new version of dockers use:
$ docker compose up
install rabbitmq_delayed_message_exchange in Docker
# in Docker
apt update
apt install wget
cd /opt/rabbitmq/plugins
wget https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/download/3.11.1/rabbitmq_delayed_message_exchange-3.11.1.ez
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
This tuturial can grow thanks to NestJS users. If you'd like to join me, please send PR to complete.
Stay in touch
- Author - sahand-zeynol