Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Firebase Cookbook
  • Toc
  • feedback
Firebase Cookbook

Firebase Cookbook

By : Houssem Yahiaoui
1.8 (5)
close
Firebase Cookbook

Firebase Cookbook

1.8 (5)
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)
close
14
Firebase Cloud FireStore

Configuring database user data security rules

Sometimes or often, we save some user-related data, which means data that has a relationship with a particular user, and in this recipe, we're going to see how we implement just that!

Getting ready

Before starting with this recipe, please make sure that your system is fully configured to support the Bolt language.

How to do it...

Now, let's see how we can secure the set of articles that belong to a specific user:

      path /articles/{uid}/drafts { 
/create {
create() { isCreator(uid) }
}
...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete