Skip to content

mhmtszr/Node.js-RabbitMQ-Helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js-RabbitMQ-Helper

Example sending emails usage of RabbitMQ on Node.js.

Install RabbitMQ from Docker

Needed Docker.

Pull rabbitmq Image.

docker pull rabbitmq

Run RabbitMQ and bind to localport 5672 and 15672.

docker run -d --name myrabbit -p 5672:5672 -p 15672:15672 rabbitmq

Run the Node.js Code

Get packages.

npm install

Run consumer script to send email.

npm run consumer

Run producer script to add emails to RabbitMQ queue.

npm run producer

About

Example sending emails usage of RabbitMQ on Node.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published