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:
- Download the source code.
- Open terminal at the root folder.
- Run command "node server.js" to start server. Make sure you have nodejs installed.
- Open browser at "http://localthost:3000/" to start chatting. Open multiple tabs in the same browser to create multiple users/sockets.