Very simple PubNub integration using Node.js
All you need is:
- Node.js
- Free PubNub Account
- Install PubNub via npm:
npm install pubnub
- Update config.js with your PubNub publish and subscribe keys
All you need to do is run receiver.js in one terminal window and sender.js in another.
From the sender.js window you can type any text or JSON objects and they should appear in the receiver.js window.