Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 570 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 570 Bytes

Notification system

Sample app to send notification via Server Sent Events using RabbitMQ

Technologies used

  • Node.js
  • Docker
  • RabbitMQ
  • Nginx
  • Svelte

Commands

Start containers

./up.sh build

Stop containers

./down.sh

Send notification

curl http://localhost:3000/post/$(channel)?msg=$(msg)

Routes

ROUTE DESCRIPTION
GET / Check server status
GET /subscribe/Channel_Name Subscribe via event stream
GET /post/Channel_Name?msg=Message Send Message to channel