O'Reilly logo

Practical Internet of Things with JavaScript by Arvind Ravulavaru

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building the mobile app and implementing an end-to-end flow

In this section, we will build our mobile companion app using the Ionic framework (http://ionicframework.com/). The output or the example would be the same as what we have done for the web and desktop app.

To get started, we will install the latest version of ionic and cordova by running the following command:

npm install -g ionic cordova  

Now, we need the mobile app base. If you have not already cloned the book's code repository, you can do so using the following command (anywhere on your machine):

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

or you can download the zip file from https://github.com/PacktPublishing/Practical-Internet-of-Things-with-JavaScript ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required