Files
Naoyuki Kanezawa 0c6d50d9c0 Merge pull request #2416 from nus-fboa2016-si/chatexample
updated express version to express 4
2016-04-12 03:58:08 +09:00
..
2016-03-08 19:50:55 -06:00
2015-12-05 10:07:08 +09:00
2016-04-11 22:19:49 +08:00

Socket.IO Chat

A simple chat demo for socket.io

How to use

$ cd socket.io
$ npm install
$ cd examples/chat
$ npm install
$ node .

And point your browser to http://localhost:3000. Optionally, specify a port by supplying the PORT env variable.

Features

  • Multiple users can join a chat room by each entering a unique username on website load.
  • Users can type chat messages to the chat room.
  • A notification is sent to all users when a user joins or leaves the chatroom.