A node.js app to Practice Redis Pub/Sub
- NOTE: Run the Redis service first
publisher.ts
: Publish the message to few channels after 2 sec intervalsubscriber1.ts
: Auto subscribe to channel-1subscriber2.ts
: Make request to subscribe to channel to start recieve messages (channel example: my-channel-1, my-channel-2)
npm run build
npm run pub
npm run sub1
npm run sub2