Node Chat Demo
This is a dead-simple example chat-room app built on
socket.io to demonstrate basic usage of node.js and WebSockets. It also includes some examples of using the Jade template language and the Stylus CSS preprocessor, as well as Redis session storage for good measure.
I might wrap this with some blog posts to turn it into a simple "First Day With Node" tutorial or something.
Install and run Redis.
Clone this repository, install dependences, and run the server:
$ git clone git://github.com/scottwb/node-chat-demo.git $ cd node-chat-demo $ npm update $ node app.js
Open a few browser windows, each to
Enter a unique username into each window and login.
Chat with each other via these separate windows.