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 up
docker-compose down
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 |
Developed by Diego Cortés