© Fu Cheng 2018
Fu ChengBuild Mobile Apps with Ionic 4 and Firebasehttps://doi.org/10.1007/978-1-4842-3775-5_10

10. Manage Favorites

Fu Cheng1 
(1)
Sandringham, Auckland, New Zealand
 

After adding user management, we can now move to the next user story that allows users to add stories to their favorites. Favorites data is stored in the Firebase Cloud Firestore. We’ll use AngularFire2 to interact with Firestore. The favorites page is only accessible to authenticated users, and we’ll use authentication guard to protect this page. After reading this chapter, you should know how to interact with Firebase Cloud Firestore.

Favorites Service

Favorites data is stored in the Firebase Cloud Firestore. Even though Cloud Firestore is still in beta at the time of ...

Get Build Mobile Apps with Ionic 4 and Firebase: Hybrid Mobile App Development 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.