Multi-Room MQTT chat using Mosca as the Broker and MongoDB as backend.
This chat uses a number of open source projects:
- mosca - The multi-transport MQTT broker for node.js.
- mqtt - An MQTT library for node.js
- Express - Fast, unopinionated, minimalist web framework for node.
- Mongoose - MongoDB object modeling designed to work in an asynchronous environment.
- mows - MQTT.js over WebSockets
- chat-nodejs - MQTT.js over WebSockets
Install dependencies
npm install
For the mosca broker configuration. Please refer to the mosca Github page https://github.com/mcollina/mosca .
node app.js
- Private Chat
MIT