Leveraging Google Cloud Firestore for Realtime Database Solutions
Cloud Firestore is a cloud-hosted NoSQL, document-oriented database where documents are made up of fields and stored in collections. Firestore is a fully-managed service which allows realtime updates to keep data in sync across multiple clients.
What you'll learn
Cloud Firestore is a flexible, scalable, realtime database where users can be notified when data changes in the cloud. Cloud Firestore is often used for mobile and web applications where there are multiple-clients who need to be kept in sync. In this course, Leveraging Google Cloud Firestore for Realtime Database Solutions, you will study the data model and practical usage of two realtime databases offered as a part of Firebase, Google’s mobile and web application development platform. First, you will explore Cloud Firestore, a highly, scalable and performant NoSQL database which allows for low latency create, read, update, and delete operations. Then, you will understand the basic data model of Firestore where documents help model hierarchical relationships. Next, you will see how you can secure data stored on Cloud Firestore, focusing on security rules which allow very granular specification of how data can be accessed from mobile and web client applications. Finally, you will delve into the original realtime database offering on Firebase, the Realtime Database. At the end of this course, you will have all the knowledge and skills to leverage the right realtime database for your use case, and structure data based on best practices for low latency and high performance.
Table of contents
- Module Overview 2m
- Prerequisites and Course Outline 2m
- Introducing Cloud Firestore 5m
- Getting Started with Firestore 7m
- Introducing Firebase 3m
- Working with Cloud Firestore Using the Firebase Web Console 6m
- Firestore Data Model 3m
- Writing Data to Firestore Using a Node.js Client 4m
- Add Documents to Collections and Subcollections to Documents 3m
- Querying and Updating Data 4m
- Transactions and Batched Writes 3m
- Batch Operations 4m
- Simple Queries Using the Where Clause 3m
- Compound Queries 2m
- Composite Indexes 4m
- Realtime Updates with Document Snapshots 3m
- Realtime Updates Using Collection Snapshots 3m
- Transactions 3m
- Module Overview 1m
- Securing Data in Firestore 5m
- Testing Security Rules Using the Firestore Simulator 3m
- Applying Rules to Collections 4m
- Applying Collection-specific Granular Rules 3m
- Using Conditional Checks in Security Rules 5m
- Checking for Authenticated Users 4m
- Defining and Using Functions within Security Rules 3m
- Module Overview 1m
- Realtime Database vs. Cloud Firestore 3m
- Introducing the Realtime Database 2m
- Exploring the Realtime Database Using the Web Console 4m
- Writing and Updating Data 6m
- Read Update and Delete Data 5m
- Retrieving Ordered Data 4m
- Wiring up Realtime Change Listeners 4m
- Best Practices to Structure Data 6m
- Summary and Further Study 2m