Skip to Content
Practical Internet of Things with JavaScript
book

Practical Internet of Things with JavaScript

by Arvind Ravulavaru
December 2017
Intermediate to advanced
296 pages
5h 56m
English
Packt Publishing
Content preview from Practical Internet of Things with JavaScript

API engine - Node.js and Express

In this section, we are going to build the API engine. This engine interfaces with our apps and cascades the information from and to the smart device, connecting as an MQTT client with the broker.

To get started, we are going to clone a repository that we have created using a Yeoman (http://yeoman.io/) generator named generator-node-express-mongo (https://www.npmjs.com/package/generator-node-express-mongo). We have taken the code scaffolded by generator-node-express-mongo and modified it a bit for our needs.

Somewhere on your machine, download the complete code base of this book using the following command:

git clone https://github.com/PacktPublishing/Practical-Internet-of-Things-with-JavaScript.git

Or, you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driving JavaScript Applications

Test-Driving JavaScript Applications

Venkat Subramaniam
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck

Publisher Resources

ISBN: 9781788292948Supplemental Content