Skip to content

This project demonstrates a simple implementation of RabbitMQ with Node.js to illustrate how message brokers work.

Notifications You must be signed in to change notification settings

VaderNgo/Message-Broker-RabbitMQ-NodeJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

RabbitMQ and Node.js Message Broker Example

Node.js RabbitMQ MIT License

This project demonstrates a simple implementation of RabbitMQ with Node.js to illustrate how message brokers work.

alt text

🚀 Overview

Message brokers like RabbitMQ facilitate communication between applications by enabling asynchronous messaging. This project showcases a basic scenario where messages are exchanged between a sender and a receiver using RabbitMQ.

🛠️ Prerequisites

Before running this project, ensure you have the following installed:

📋 Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/rabbitmq-nodejs-example.git
    cd rabbitmq-nodejs
  2. Change Directory To Sender And Receiver

    To Sender

    cd rabbit-sender

    To Receiver

    cd rabbit-receiver
  3. Install Dependencies

    npm install
  4. Start The RabbitMQ Server

    Ensure RabbitMQ is running. You can download it from RabbitMQ and follow their installation instructions.

  5. Excute Sender And Receiver

    Sender Command:

    npx ts-node rabbit-sender.ts

    Receiver Command:

    npx ts-node rabbit-receiver.ts

🏆 Result

alt text

About

This project demonstrates a simple implementation of RabbitMQ with Node.js to illustrate how message brokers work.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published