Add a cloud backend to a Flutter app using Firebase — wire up FlutterFire, sign users in with email/password and Google, and read and write live data with Cloud Firestore. You will finish able to give any app real user accounts, cloud storage and realtime updates, protected by basic security rules.
Watch the free preview
What Firebase gives your app, and how the pieces fit — free to watch, no account needed.
What you'll learn
- Add a cloud backend to a Flutter app with Firebase (Auth and Cloud Firestore)
- Configure FlutterFire and initialise Firebase correctly on every platform
- Authenticate users with email/password and Google Sign-In and react to auth state
- Read, write and stream Cloud Firestore data so the UI updates in realtime
- Structure Firestore data and write basic security rules that protect each user's records
Syllabus
Setting Up Firebase in a Flutter App
What Firebase gives your app, and how the pieces fitFree preview
Initialising FlutterFire the right way
Authenticating Users
Email and password authentication
Google Sign-In and reacting to auth state
Reading and Writing with Cloud Firestore
Documents, collections and writing data
Queries and realtime streams in the UI
Data Modelling and Security Rules
Structuring Firestore data
Security rules basics
Lab — 10 Exercises & Solutions
Exercises 1–5
Exercises 6–10