Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Internet of Things with JavaScript

You're reading from   Practical Internet of Things with JavaScript Build standalone exciting IoT projects with Raspberry Pi 3 and JavaScript (ES5/ES6)

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781788292948
Length 296 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Arvind Ravulavaru Arvind Ravulavaru
Author Profile Icon Arvind Ravulavaru
Arvind Ravulavaru
Arrow right icon
View More author details
Toc

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 as well.

Once the repository has been downloaded, cd into the base folder and make a copy of mobile-app-base folder...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime