redis pubsub example using node js and node-redis-pubsub module
git clone https://github.com/blueshw/redis-pubsub-example.git
cd redis-pubsub-example
npm install
if it's not installed redis, install first. and then, run redis on port 6379
node sub.js &
node pub.js