emmanueldg / mqtt-chat

MQTT Chat Using Mosca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

MQTT Chat Using Mosca


Languages

Language:JavaScript 79.7%Language:CSS 16.6%Language:HTML 3.7%