dcortesnet / Nodejs-rabbitmq-pub-sub

Basic flow of event publish and subscribe model using RabbitMQ as a broker message. The project consists of 2 services, one for publications and the other for consumers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodejs RabbitMQ Pub/Sub License: MIT

Basic flow of event publish and subscribe model using RabbitMQ as a broker message. The project consists of 2 services, one for publications and the other for consumers.

Docker compose orchestration

docker-compose up
docker-compose down

Endpoints

Service Method Endpoint body Description
Service pub POST http://localhost:3000/messages {message: "Hello world"} Create new resource
Service sub GET http://localhost:3001/messages Get all resources

Team

Developed by Diego Cortés

About

Basic flow of event publish and subscribe model using RabbitMQ as a broker message. The project consists of 2 services, one for publications and the other for consumers.

License:MIT License


Languages

Language:JavaScript 100.0%