Firestore Collections and Documents
📖 Scenario: You are building a simple app to store user profiles in Google Firestore. Each user has a unique ID and some basic information like name and email.
🎯 Goal: Create a Firestore collection called users and add documents with user data. Then configure a query to retrieve users with a specific email domain.
📋 What You'll Learn
Create a Firestore collection named
users with three user documentsEach user document must have fields
name and email with exact valuesAdd a configuration variable to filter users by email domain
Write a query to get all users whose email contains the configured domain
💡 Why This Matters
🌍 Real World
Managing user profiles in Firestore is common in apps that need to store and query user data efficiently.
💼 Career
Understanding Firestore collections, documents, and querying is essential for cloud developers working with Google Cloud Platform.
Progress0 / 4 steps