Skip to content

emmanueldg/mqtt-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

Install dependencies

npm install

Configuration

For the mosca broker configuration. Please refer to the mosca Github page https://github.com/mcollina/mosca .

To run

node app.js

Live Demo

Live Demo

Upcoming Features

  • Private Chat

License

MIT