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.
- NodeJS
- NPM
- Chrome (to be able to run tests)
# installing dependencies
$ npm install
# starting the server
$ npm start
# 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
- When unsubscribing from topics with '#' as 'test/#' the messages are not deleted (the exact topic names are deleted).