Example application using Socket.io and Express.js(app without the express generator templates).
$ cd socket-chat
$ npm install
$ npm start
The app will start on port 3000
on you local machine.
Append /nickname with URL to display your nick name in chat room. e.g. Open the app in browser as http://localhost:3000/john
. Open multiple browser windows with different nickname to see the magic of sockets!
- jinmatt