The Complete Flutter Course: Build Android, iOS and Web Apps

Flutter with Firebase: what you learn

Firebase is Google's platform of app services, and the course uses it as the back end of a portfolio site and a budget app. This guide maps which Firebase products The Complete Flutter Course: Build Android, iOS and Web Apps uses and where each one is set up, so you can see the whole picture before going deeper into Cloud Firestore or sign-in.

Taught by Sagnik Bhattacharya and Paulina Knop

The Complete Flutter Course: Build Android, iOS and Web Apps: Sagnik Bhattacharya and Paulina Knop

What you will be able to do

You will be able to:

  • Install the Firebase command-line tools and sign in to them with firebase login.
  • Connect an app to Firebase for Android, iOS and the web with flutterfire configure, and read the older manual set-up.
  • Deploy a Flutter web app to Firebase Hosting and point a domain you own at it.
  • Write Firestore security rules and test each one by switching access off.
  • Set up Firebase and a login screen for a new app that runs on three platforms.

Projects

What you will build.

The course has nine projects. These two matter most here.

  • Project 04

    Portfolio website and app

    Hosting, a blog read from Cloud Firestore, contact messages saved to it, and security rules around both.

  • Project 08

    Budget app

    Authentication and Cloud Firestore working together, so each user signs in and sees their own records.

Lessons

The lessons that matter, in course order.

The Complete Flutter Course: Build Android, iOS and Web Apps has 223 lessons. This page picks out 15 of them, 2 h 24 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 123 Connect Firebase with the FlutterFire CLI

Start at Lesson 123 to connect an app to Firebase; it extends the portfolio built from Lesson 47. The Firebase command-line tools are installed at Lesson 10, and the site first goes live on Firebase Hosting from Lesson 74, before any database arrives.

15 of 223 lessons · 2 h 24 min

02 Flutter Setup and Installation 1 of 9 lessons · 3 min The Firebase command-line tools on Windows: Node.js and npm, then npm install -g firebase-tools.
  1. 10 Install the Firebase CLI on Windows Node.js and npm, then npm install -g firebase-tools 3 min
09 Layouts, Gesture and animations: Landing Page Web (Portfolio) 3 of 35 lessons · 16 min Firebase's first job in the course: a project for hosting, firebase login and firebase init, a web build, and the portfolio's first deploy.
  1. 74 Getting ready for Firebase Hosting A width-based image height and signing in with firebase login 5 min
  2. 75 Creating a Firebase project for hosting The console project, firebase init and flutter build web 5 min
  3. 76 First deploy to Firebase Hosting The firebase deploy command, release history and the drawer 6 min
15 Flutter Firebase setup for Android, iOS, and web 4 lessons · 26 min The FlutterFire CLI first, with a Firestore database in test mode and flutterfire configure, then the older manual set-up for iOS, Android and the web.
  1. 123 Start here Connect Firebase with the FlutterFire CLI Current method: flutterfire configure for Android, iOS and web 9 min
  2. 124 Older manual set-up: iOS and Android apps Bundle ID, package name and each platform's configuration file 6 min
  3. 125 Older manual set-up: initialise Firebase Gradle settings, cloud_firestore, async main and kIsWeb 6 min
  4. 126 Older manual set-up: the web app Web config values in FirebaseOptions, tested on web and phone 5 min
16 Read data from Firebase using Flutter: Blog Page 1 of 6 lessons · 6 min An introduction to Cloud Firestore: an articles collection with title and body fields.
  1. 127 Introduction to Cloud Firestore Create an articles collection with title and body fields 6 min
17 Add data to Firestore using Flutter: Contact page: Flutter Portfolio 1 of 6 lessons · 4 min The site deployed to Firebase Hosting again with firebase init and deploy, in a lesson that used the HTML renderer, since removed from Flutter.
  1. 138 Deploy to Firebase Hosting (HTML renderer) Run firebase init and deploy; the HTML renderer is now removed 4 min
18 Firebase security rules 4 lessons · 28 min Security rules that decide who may read or write each collection, tested by switching access off, and a custom domain for Hosting.
  1. 139 Introduction to Firestore security rules The Rules tab, test mode's time limit and allow true or false 7 min
  2. 140 Security rules for contact messages A match statement that lets the app write messages, not read 4 min
  3. 141 Article rules and fixing the submit dialog Read-only articles; addResponse now returns true or false 11 min
  4. 142 Connect a custom domain (optional) Point a domain you own at Firebase Hosting with an A record 5 min
22 Budget App using Flutter Riverpod and MVVM architecture 1 of 47 lessons · 1 h Firebase set up afresh for the budget app on three platforms, with Riverpod and the login screen.
  1. 169 Set up Firebase, Riverpod and the login screen Three platforms, sign-in state, and email and password fields 1 h

Instructors

Who teaches it.

Paulina Knop smiling, shoulder-length brown hair, wearing a black top.

Instructor, Flutter

Paulina Knop

Flutter developer and curriculum designer. Teaches the Flutter course.

Questions

Asked before starting.

Is there a Flutter course that uses Firebase as the back end of real apps?

The Complete Flutter Course: Build Android, iOS and Web Apps from Coding Liquids does, in these apps: a portfolio site whose blog is read from Cloud Firestore and whose contact form saves to it, behind security rules and on Firebase Hosting; and a budget app where users sign in and keep their own records. This guide maps the Firebase lessons, 15 lessons (2 hours 24 minutes); it does not suit anyone who needs Cloud Functions or push notifications.

Which Firebase products does the course use?

Firebase Authentication with email and password and with Google, Cloud Firestore with its security rules, and Firebase Hosting with a custom domain, plus the Firebase CLI and the FlutterFire CLI to set them up. The Complete Flutter Course: Build Android, iOS and Web Apps uploads no files to Cloud Storage and uses no other Firebase product, so the list stops there.

Does the course connect Firebase with the FlutterFire CLI or the older manual way?

Both, current way first. The Complete Flutter Course: Build Android, iOS and Web Apps connects the portfolio with flutterfire configure at Lesson 123, then shows the older manual set-up it replaces from Lesson 124: registering each platform, adding its configuration file and initialising Firebase by hand. The manual lessons help when you meet a project set up the old way.

Will I use Firebase on the web as well as on phones?

Yes. The portfolio site goes live on Firebase Hosting and reads its blog from Cloud Firestore in the browser, and the budget app's sign-in is tested on Chrome and on a phone. The Complete Flutter Course: Build Android, iOS and Web Apps also covers the web's own Firebase settings in the older set-up, at Lesson 126, tested on the web and a phone.

Does the course cover Cloud Functions, Storage or push notifications?

No. The Complete Flutter Course: Build Android, iOS and Web Apps does not teach Cloud Functions, Cloud Storage for files, Cloud Messaging for push notifications, Crashlytics, Analytics or Remote Config. Its Firebase is the part most apps start with: sign-in, a database with security rules and hosting. Firebase documents the others with Flutter examples for when you need them.

What happens when the database's test mode runs out?

Test mode opens a new Firestore database to anyone for a limited time, so the app works while you build it, and then access stops. The Complete Flutter Course: Build Android, iOS and Web Apps creates the database in test mode at Lesson 123, explains the time limit at Lesson 139 and replaces it with security rules of your own before that point.

Flutter

See the whole course.

The Complete Flutter Course: Build Android, iOS and Web Apps: 25 hours of video in 223 lessons, built around 9 projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.