/MQTTAPI

Mqtt broker connection

Primary LanguageJavaScript

MQTTAPI

Mqtt api server for iot connection using post request the data is send to aws iot console using aws iot script and store status of device in postgres database using express js and mqtt server configuration code using pubnub to send data in pubnub channel. This is the microservice of an aws mqtt server you configuer your own aws credential and pubnub credentials for aws account config link https://aws.amazon.com/config/

This project was generated with the Express API Generator version 0.0.1.

Getting Started

Prerequisites

Developing

  1. Run npm install to install server dependencies.

  2. Run grunt serve to start the development server. It should automatically open the client in your browser when ready.

Build & development

Run grunt build for building and grunt serve for preview.

Testing

Running npm test will run the unit tests with karma.