Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 662 Bytes

File metadata and controls

11 lines (11 loc) · 662 Bytes

Example of using NodeJS to build a multiroom chat application. It works. This project is in Chapter 2 of the book: NodeJS In Action. This uses nodeJS with modules MIME and Socket.IO to create a simple chat application. Usage:

  1. Download the source code.
  2. Open terminal at the root folder.
  3. Run command "node server.js" to start server. Make sure you have nodejs installed.
  4. Open browser at "http://localthost:3000/" to start chatting. Open multiple tabs in the same browser to create multiple users/sockets.
![ScreenShot](https://raw.githubusercontent.com/lamphanviet/nodejs-chatrooms/master/sample.PNG)