The Bookstore architecture
The following is a high-level view of all the components that are involved in building the bookstore application:
The server architecture
The secure REST server we are using for the application is built using Node.js/Express. MongoDB is used as the data persistence layer.
Note
The data used in the application is generated via a Faker script (https://www.npmjs.com/package/faker). None of the data in the application is real and it is only used to prototype the app/fill the space. All the images and text are random.
Since the scope of this book is limited to Ionic, I will not be explaining how the server is built.
Note
You can follow the following blog post to understand the server-side layer, how it is set up, and how JWTs work.
See Architecting a Secure RESTful Node.js app here: http://thejackalofjavascript.com/architecting-a-restful-node-js-app/.
You can find two implementations of a similar application, where I have built a Bucket list app using Node.js as the server-side...