Sample app to send notification via Server Sent Events using RabbitMQ
- Node.js
- Docker
- RabbitMQ
- Nginx
- Svelte
./up.sh build
./down.sh
curl http://localhost:3000/post/$(channel)?msg=$(msg)
ROUTE | DESCRIPTION |
---|---|
GET / | Check server status |
GET /subscribe/Channel_Name | Subscribe via event stream |
GET /post/Channel_Name?msg=Message | Send Message to channel |