A simple application using RabbitMQ and Nodejs, this application was based on the tutorials page on the official RabbitMQ page.
If you understand Portuguese, you can check out the video where I do a step by step creation of this application, please check :)
https://youtu.be/ctG2hEc6v_I
Note: you need to have NodeJs and Docker installed on your computer, if not, please follow the documentation.
First we need to raise our RabbitMQ server using our docker
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management
Open another terminal and then:
npm i
node src/send.js
and again, open another terminal and then:
node src/receive.js