Skip to Content
Learning AWS IoT
book

Learning AWS IoT

by Agus Kurniawan
January 2018
Intermediate to advanced
278 pages
5h 13m
English
Packt Publishing
Content preview from Learning AWS IoT

Running the project

After we have configured and developed programs for the backend and frontend, we will compile and run the program. Consider the following steps:

  1. Firstly, we run the backend application, sensor-publisher.js. You can open the Terminal and navigate to the sensor publisher project. Then, type the following command:
$ node sensor-publisher.js
  1. After execution, we continue to run the frontend application. Run index.html on your web server. Then, open the browser and navigate to http://<server>/index.html. You should see the sensor data visualization, as shown in the following screenshot:

You also should see the program output ...

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

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson

Publisher Resources

ISBN: 9781788396110Supplemental Content