Express chat is a node.js multi-server chat application. Messages are sent with Socket-IO and saved in MongoDB.
- Node.js >= v0.6.2
- MongoDB and Redis installed and running.
- git clone git://github.com/Tug/express-chat.git
- cd express-chat
- npm install .
The config.json file will overwrite properties definied in config.js. Edit it to set your configuration properties such as database host, port, username, password, etc.
- node app or
- node app myconfig.js
- Reimplement Mubsub and socket.io-mongodb to reuse a mongo connection (don't use mongoskin). The goal would be to use MongoDB for PubSub and get rid of Redis.