In this section, we are going to build a Todo app using Ionic 1. The app we are going to build is going to have a piece of almost all the features of a typical Ionic app. We are going to have:
- Routing
- Persistence
- Local notifications
- REST API integration
The first page in the two-page Todo app will be a login page and on the second page, we work with Todos. We are going to use LocalStorage to save the authentication status as well as the Todos that we are going to create. We are also going to show local notifications when a user creates, updates, or deletes a todo. Showing local notifications is more along the lines of interfacing an Ionic app with device features. And finally a REST API request to https://www.ipify.org/ to fetch the IP address of the device we are accessing this app from.
The final app is going to look like the following image: