The Node.js API uses the MVC model to integrate with AWS IoT (MQTT) and AWS Timestream to serve a frontend application.
- Node.js
- Git
$ npm install- Copy the file
.env.exampleand make the new file.env - Insert the values for the variables in the
.envfile
# run this command to auto restart server when save change
$ npm run dev
# start server
$ npm run start
$ node app.js