Built with:
- Server side: Node.js, Socket.io, Express, Redis
- Client side: HTML5 Boilerplate, Bootstrap, Handlebars and jQuery
This is just a proof of concept of what could be done with these technologies.
If you just want to see it running, visit: http://chat.tegioz.com
- Node.js
- NPM (Node Package Manager)
- Redis
git clone https://github.com/tegioz/chat.git
Fetch dependencies:
npm install
Launch Redis:
redis-server
Launch chat server:
(don't forget to launch Redis before!)
node chatServer.js
Now open this URL in your browser:
http://localhost:8888/
and you're done ;)
Send messages to all connected users:
Content-Type: application/json
POST /api/broadcast/
{"msg": "Hello!"}