Skip to content

khaled-hamam/mqtt-websocket-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Websocket Client Build Status

A Websocket client using MQTT protocol and Node JS.

The project is a task for XIOT internship.

The application is hosted on Heroku, a live version can be found: here.

Prerequisites:

  • NodeJS
  • NPM
  • Chrome (to be able to run tests)

Usage:

# installing dependencies
$ npm install

# starting the server
$ npm start

Scripts:

# Running the server
$ npm start

# Running the server on watch mode using nodemon
$ npm run start:watch

# Running the tests using mocha-chrome package
$ npm test 

Known issues:

  • When unsubscribing from topics with '#' as 'test/#' the messages are not deleted (the exact topic names are deleted).