Firebase Fundamentals

David East

David East

Google
4 hours, 33 minutes CC
Firebase Fundamentals

Course Description

Build real-time, authenticated, scalable, and secure apps on Firebase. You’ll learn how to do real-time updates with Firestore. Create security rules and sign in users with Firebase Authentication – without needing to run a server! And you’ll even be able to trigger events that run server code using Cloud Functions.

This course and others like it are available as part of our Frontend Masters video subscription.

Preview
Close

Course Details

Published: August 10, 2022

Learning Paths

Learn Straight from the Experts Who Shape the Modern Web

Your Path to Senior Developer and Beyond
  • 200+ In-depth courses
  • 18 Learning Paths
  • Industry Leading Experts
  • Live Interactive Workshops
Get Unlimited Access Now

Table of Contents

Introduction

Section Duration: 8 minutes
  • Introduction
    David East introduces the course by walking through the required installations and where to find the course materials. An overview of Firebase, including the architecture, libraries, and general workflow, is also covered in this segment.

Setup

Section Duration: 58 minutes
  • Setup a Project & Database
    David demonstrates how to quickly set up a Firebase project by configuring a Firebase App, which includes a JavaScript SDK and a Firebase CLI. A Student's question regarding if the initialize app config is different in an SSR library such as Next.js is also covered in this segment.
  • Working with Firestore Data
    David walks through connecting to a Firestore database by pulling in markdown that has been converted into HTML and discusses how working with Firestore data compares to using SQL. Setting a document, deleting a document, and receiving the results in a callback are covered in this segment.
  • Firebase Authentication
    David discusses implementing Firebase authentication using the Anonymous authentication provider, which can also provide guest authentication. Firebase Authentication is a fully managed authentication system for signing in and managing users without needing a designated server.
  • Setup Firebase Hosting
    David demonstrates logging into and setting up the Firebase CLI to deploy web applications. A student's question regarding the difference between the doc and setDoc function is also covered in this segment.
  • Dev Config Best Practices
    David discusses what went against best practices in the previous Firebase demo and briefly demonstrates implementing best practices for security, code structure, production services, deployment, and data models. A student's question regarding if Firebase sets up a WebSocket when talking to the database is also covered in this segment.
  • Setup Local Emulator Environment
    David walks through connecting to the Auth and Firestore emulators, the contents of the firebase.json file, and enabling the Emulator UI. Student questions regarding how often the offline data store updates and caches data and if users and data can be populated in a development environment are also covered in this segment.

Firestore

Section Duration: 43 minutes

Querying

Section Duration: 1 hour, 4 minutes

Authorization & Security

Section Duration: 1 hour, 35 minutes

Wrapping Up

Section Duration: 2 minutes

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now