Firebase Cookbook

Practical solutions for developing seamless experiences for application that scales
Preview in Mapt
Code Files

Firebase Cookbook

Houssem Yahiaoui

Practical solutions for developing seamless experiences for application that scales
Mapt Subscription
FREE
$20.83/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Firebase Cookbook Book Cover
Firebase Cookbook
$ 31.99
$ 22.40
Kali Linux Wireless Penetration Testing Cookbook Book Cover
Kali Linux Wireless Penetration Testing Cookbook
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $28.98
Add to Cart

Book Details

ISBN 139781788296335
Paperback288 pages

Book Description

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

Chapter 1: Firebase - Getting Started
Introduction 
Creating your first Firebase application
Adding Firebase to an existing frontend project
Integrating Firebase into the backend
Integrating Firebase in Android applications
Integrating Firebase in iOS applications
Chapter 2: Firebase Real-Time Database
Introduction 
Saving and serving data in and from our Realtime Database
Updating and deleting data from our Realtime Database
Structuring data within our Realtime Database
Implementing offline capabilities support
Chapter 3: File Management with Firebase Storage
Introduction
Creating file storage references
Implementing file upload
Implementing file serving and downloading
Implementing file deletion
Implementing file metadata updates
Firebase file storage error handling
Chapter 4: Firebase Authentication
Chapter 5: Securing Application Flow with Firebase Rules
Introduction
Configuring the Firebase Bolt language compiler
Configuring database data security rules
Configuring database user data security rules
Configuring storage files security rules
Configuring user storage files security rules
Chapter 6: Progressive Applications Powered by Firebase
Introduction
Integrating Node-FCM in a NodeJS server
Implementing service workers
Implementing sending/receiving registration using Socket.IO
Implementing sending/receiving registration using post requests
Receiving web push notification messages
Implementing custom notification messages
Chapter 7: Firebase Admin SDK
Introduction
Integrating the Firebase Admin SDK
Implementing user account management by fetching users
Implementing user account management by creating accounts
Implementing user account management by deleting accounts
Implementing notification sending
Chapter 8: Extend Firebase with Cloud Functions
Introduction 
Getting started with Cloud Functions 
Implementing data manipulation
Implementing data-change monitoring
Welcoming users upon account creation
Implementing account email confirmation
Sending re-engagement emails to inactive Firebase users
Chapter 9: We’re Done, Let’s Deploy
Introduction
Deploying our application to Firebase
Customizing the Firebase hosting environment
Chapter 10: Integrating Firebase with NativeScript
Introduction
 Starting a NativeScript project
Adding the Firebase plugin to our application
Pushing/retrieving data from the Firebase Realtime Database
Authenticating using anonymous or password authentication
Authenticating using Google Sign-In
Adding dynamic behavior using Firebase Remote Config
Chapter 11: Integrating Firebase with Android/iOS Natively
Introduction
Implementing the pushing and retrieving of data from Firebase Realtime Database
Implementing anonymous authentication
Implementing password authentication on iOS
Implementing password authentication on Android
Implementing Google Sign-in authentication
Implementing Facebook login authentication
Facebook authentication in Android
Facebook authentication in iOS
Generating a crash report using Firebase Crash Report
Adding dynamic behavior using Firebase Remote Config in Android
Adding dynamic behavior using Firebase Remote Config in iOS
Chapter 12: Hack Application's Growth
Introduction
Implementing sending/receiving app invite in Android/iOS
Implementing topic subscription in Android/ iOS
Chapter 13: Adding Analytics and Maximizing Earnings
Introduction
Integrating Firebase analytics into Android/iOS applications
Implementing event logging on Android/iOS
Implementing user properties for data and audience filtering
Integrating Firebase AdMob with Android/iOS applications
Implementing Firebase AdMob banner ads on Android/iOS
Implementing Firebase AdMob native ads express on Android/iOS
Implementing AdMob ads targeting
Chapter 14: Firebase Cloud FireStore

What You Will Learn

  • Use Firebase Diverse Authentication systems
  • Integrate easy, secure File Hosting using Firebase Storage services
  • Make your application serverless using Firebase Cloud Functions
  • Use the powerful Firebase Admin SDK for privilege management
  • Use Firebase within NativeScript apps for cross-platform applications
  • Modify, structure, save and serve data in and from Realtime Database
  • Get acquainted with the newly introduce Cloud Firestore, a scalable database for your web and mobile applications

Authors

Table of Contents

Chapter 1: Firebase - Getting Started
Introduction 
Creating your first Firebase application
Adding Firebase to an existing frontend project
Integrating Firebase into the backend
Integrating Firebase in Android applications
Integrating Firebase in iOS applications
Chapter 2: Firebase Real-Time Database
Introduction 
Saving and serving data in and from our Realtime Database
Updating and deleting data from our Realtime Database
Structuring data within our Realtime Database
Implementing offline capabilities support
Chapter 3: File Management with Firebase Storage
Introduction
Creating file storage references
Implementing file upload
Implementing file serving and downloading
Implementing file deletion
Implementing file metadata updates
Firebase file storage error handling
Chapter 4: Firebase Authentication
Chapter 5: Securing Application Flow with Firebase Rules
Introduction
Configuring the Firebase Bolt language compiler
Configuring database data security rules
Configuring database user data security rules
Configuring storage files security rules
Configuring user storage files security rules
Chapter 6: Progressive Applications Powered by Firebase
Introduction
Integrating Node-FCM in a NodeJS server
Implementing service workers
Implementing sending/receiving registration using Socket.IO
Implementing sending/receiving registration using post requests
Receiving web push notification messages
Implementing custom notification messages
Chapter 7: Firebase Admin SDK
Introduction
Integrating the Firebase Admin SDK
Implementing user account management by fetching users
Implementing user account management by creating accounts
Implementing user account management by deleting accounts
Implementing notification sending
Chapter 8: Extend Firebase with Cloud Functions
Introduction 
Getting started with Cloud Functions 
Implementing data manipulation
Implementing data-change monitoring
Welcoming users upon account creation
Implementing account email confirmation
Sending re-engagement emails to inactive Firebase users
Chapter 9: We’re Done, Let’s Deploy
Introduction
Deploying our application to Firebase
Customizing the Firebase hosting environment
Chapter 10: Integrating Firebase with NativeScript
Introduction
 Starting a NativeScript project
Adding the Firebase plugin to our application
Pushing/retrieving data from the Firebase Realtime Database
Authenticating using anonymous or password authentication
Authenticating using Google Sign-In
Adding dynamic behavior using Firebase Remote Config
Chapter 11: Integrating Firebase with Android/iOS Natively
Introduction
Implementing the pushing and retrieving of data from Firebase Realtime Database
Implementing anonymous authentication
Implementing password authentication on iOS
Implementing password authentication on Android
Implementing Google Sign-in authentication
Implementing Facebook login authentication
Facebook authentication in Android
Facebook authentication in iOS
Generating a crash report using Firebase Crash Report
Adding dynamic behavior using Firebase Remote Config in Android
Adding dynamic behavior using Firebase Remote Config in iOS
Chapter 12: Hack Application's Growth
Introduction
Implementing sending/receiving app invite in Android/iOS
Implementing topic subscription in Android/ iOS
Chapter 13: Adding Analytics and Maximizing Earnings
Introduction
Integrating Firebase analytics into Android/iOS applications
Implementing event logging on Android/iOS
Implementing user properties for data and audience filtering
Integrating Firebase AdMob with Android/iOS applications
Implementing Firebase AdMob banner ads on Android/iOS
Implementing Firebase AdMob native ads express on Android/iOS
Implementing AdMob ads targeting
Chapter 14: Firebase Cloud FireStore

Book Details

ISBN 139781788296335
Paperback288 pages
Read More

Read More Reviews

Recommended for You

Kali Linux Wireless Penetration Testing Cookbook Book Cover
Kali Linux Wireless Penetration Testing Cookbook
$ 31.99
$ 22.40
TensorFlow 1.x Deep Learning Cookbook Book Cover
TensorFlow 1.x Deep Learning Cookbook
$ 35.99
$ 25.20
IoT Penetration Testing Cookbook Book Cover
IoT Penetration Testing Cookbook
$ 31.99
$ 22.40
Python Penetration Testing Cookbook Book Cover
Python Penetration Testing Cookbook
$ 27.99
$ 19.60
AWS Automation Cookbook Book Cover
AWS Automation Cookbook
$ 31.99
$ 22.40
Ceph Cookbook - Second Edition Book Cover
Ceph Cookbook - Second Edition
$ 35.99
$ 25.20