Book Image

Learning Ionic

By : Arvind Ravulavaru
Book Image

Learning Ionic

By: Arvind Ravulavaru

Overview of this book

Table of Contents (19 chapters)
Learning Ionic
About the Author
About the Reviewers

An introduction to the Bookstore application

In this chapter, we are going to build a Bookstore application. As explained earlier, a user can register and log in to the application. The user can browse through all the books in the store without any authentication. They can add books to cart, view their cart, and checkout the cart. Once the user makes a purchase, they can view it in their purchase history page.

The application features are quite simple but, to take the application to the next level, we will be integrating the application with a secure REST API server built, on Node.js, which uses JSON Web Tokens for authentication. Since we already have Node.js installed on the local machine, setting up a server should not be complicated. Or, in case you do not want to set up the server locally, you can find a link to the hosted version of the APIs in the next section.

Some end points such as Checkout and View Purchases are made secure with JSON Web Tokens (JWT). The server is set up in such...