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.
- Git
- Node.js and NPM >= v0.12.0
- Ruby and then
gem install sass
- Grunt (
npm install --global grunt-cli
) - SQLite
-
Run
npm install
to install server dependencies. -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
Run grunt build
for building and grunt serve
for preview.
Running npm test
will run the unit tests with karma.