Book Image

Firebase Cookbook

By : Houssem Yahiaoui
Book Image

Firebase Cookbook

By: Houssem Yahiaoui

Overview of this book

Do you feel tired just thinking or even hearing about backend technologies, authentication or the tedious task of deployment? Firebase is here to change the way you develop and make your app a first-class citizen of the cloud. This books takes a solution based approach by providing you recipes that would help you understand the features of Firebase and implement them in your existing web or mobile applications. We start-off by creating our first Firebase application and integrating its services into different platforms and environments for mobile as well as web applications. Then we deep dive into Real-time Database and Firebase Storage that allows your users to access data across various devices with realtive ease. With each chapter you will gradually create the building blocks of your application from securing your data with Firebase Rules to authenticating your users with O-Auth. Moving along we would explore modern application development techniques such as creating serverless applications with Firebase Cloud Functions or turning your traditional applications into progressive apps with Service workers. Finally you will learn how to create cross-platform mobile apps, integrate Firebase in native platforms, and learn how to monetize your mobile applications using Admob for Android and iOS.
Table of Contents (15 chapters)
14
Firebase Cloud FireStore

What this book covers

Chapter 1, Firebase - Getting Started, begins with the process of integrating Firebase and its services into different platforms and environments, from frontend and backend projects to Android/iOS projects.

Chapter 2, Firebase Real-Time Database, introduces one of the most used features of Firebase—Firebase Real Time. It covers how to implement the daily input entering and retrieval and update of your data; it also covers how we can structure our data better and finishes by enabling all these features and enabling them offline.

Chapter 3, File Management with Firebase Storage, explains how we can upload, download, and manage files within our Firebase Storage.

Chapter 4, Firebase Authentication, presents the different ways in which you can authenticate your users using Firebase, from traditional authentication to an OAuth-based login process that is different from Facebook, Google, and Twitter.

Chapter 5, Securing Application Flow with Firebase Rules, explains how to secure Firebase Database and Firebase Storage using the powerful Firebase authorization rules.

Chapter 6, Progressive Applications Powered by Firebase, shows how to turn a boring application with old features into a progressive one using service workers and Firebase.

Chapter 7, Firebase Admin SDK, describes how we can create a basic dashboard and interact with other Firebase functionalities from the diverse set with more authorization and a more powerful API to manage users and notifications.

Chapter 8, Extend Firebase with Cloud Functions, covers how we can use Firebase Cloud Functions and integrate it and interact with different Firebase products to extend its functionalities and go literally serverless ending up with deployment interactivity within the Firebase console.

Chapter 9, We're Done, Let's Deploy, is about deploying your code to the Firebase Static hosting and making some config-based customizations to the user experience.

Chapter 10, Integrating Firebase with NativeScript, shows the proper way to use Firebase within the NativeScript a lot of platforms applications.

Chapter 11, Integrating Firebase with Android/iOS Natively, is all about implementing Firebase features from Interacting with the Realtime Database to authentication in native context for Android and iOS applications.

Chapter 12, Hack Application's Growth, dives into the little functionalities that simply generate more leads and improve the application's user experience, covering app invites and topic-based notifications.

Chapter 13, Adding Analytics and Maximizing Earnings, shows how you can integrate analytics and incorporate AdMob so that you can generate revenue from different ad types.

Appendix, Firebase Cloud FireStore, talks about the power points of Firebase Cloud Firestore and its differences from earlier model.