Built with:
- Server side: Node.js, Socket.io, Express, Redis
- Client side: HTML5 Boilerplate, Bootstrap, Handlebars and jQuery
- Node.js
- NPM (Node Package Manager)
- Redis
Fetch dependencies:
npm install
Launch Redis:
redis-server
Launch chat server:
(don't forget to launch Redis before!)
node chatServer.js
Send messages to all connected users:
Content-Type: application/json
POST /api/broadcast/
{"msg": "Hello!"}