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

Now that we are done with an end-to-end flow with the web app, we will extend the same to the desktop and mobile apps. We will start off by building a desktop client for the same API engine. So, if a user is more comfortable in using a desktop app over a web or mobile app, he/she could use this.

This desktop app, we will have all the same features as the web app.

For building the desktop app, we will use the electron (https://electron.atom.io/) framework. Using a Yeoman (http://yeoman.io/) generator named generator-electron (https://github.com/sindresorhus/generator-electron), we will scaffold the base application. Then, we will build our web app and use the dist folder from that ...

Get Practical Internet of Things with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.