Spotted a bug? Have a great idea? Help us make google.dev great!

Get to know Cloud Firestore

Learn to efficiently and securely store and sync app data with Cloud Firestore.

 

What is a NoSQL Database? How is Cloud Firestore structured?

Video Optional

Cloud Firestore is a horizontally scaling document-model NoSQL database in the cloud. But what does that actually mean? Welcome to our new series, Get to Know Cloud Firestore! In the first episode, Todd answers some of your essential NoSQL and Cloud Firestore questions.

Getting started with Cloud Firestore

Codelab Optional

In this codelab, you'll learn how to build a web app that uses Cloud Firestore.

How do queries work in Cloud Firestore?

Video Optional

How do queries work in Cloud Firestore? What kinds of queries can you run, and what kind can't you run? And what are composite indexes, anyway? Find out the answers to all of these questions and more on this episode of Get to Know Cloud Firestore.

Complex queries with Cloud Firestore

Codelab Optional

In this codelab, you'll learn how to build a web app that uses Cloud Firestore.

How do Transactions Work?

Video Optional

Transactions can help you avoid race conditions and strange inconsistencies in your database application. But what is a transaction, and how do they work? What is the difference between a client-side and server-side transaction in Cloud Firestore, and how are they different from batched writes? Find out the answers to all of these questions and more in this episode of Get to Know Cloud Firestore!

Transactions with Cloud Firestore

Codelab Optional

In this codelab, you'll learn how to build a web app that uses Cloud Firestore.

Security Rules! 🔑

Video Optional

Wondering how to get started with security rules in your Cloud Firestore database? On this episode of Get to Know Cloud Firestore, Todd shows you how to make sure your clients only have access to the documents they're supposed to see, so you can do that whole 'serverless computing' thing. Watch to find out about data validation, resource objects, custom auth claims, and much more!

Secure data in Firestore

Codelab Optional

In this codelab, you'll learn how to build a web app that uses Cloud Firestore.

How do I paginate my data?

Video Optional

Offline support in Cloud Firestore can help users interact with your app even when there is no network connectivity. But how does offline mode work? How do you enable it? And what does it mean when you read or write to your cached data? In this episode, Todd explains how offline mode works underneath the hood, and some gotchas you should look out for. Watch to find out more!

Get to know Cloud Firestore Quiz

Take the Get to know Cloud Firestore quiz to earn the Get to Know Cloud Firestore badge. You must answer 7 of the 9 questions correctly.