Add A Firebase Backend To Your Flutter App Fast!

Benjamin Carlson
The Startup
Published in
4 min readJun 27, 2020

--

Read this story with code syntax highlighting on Coffeeclass.io.

Whenever I work with Firebase, I always seem to run into small issues that can be very annoying (yet simple) to solve. When I tried to connect my Flutter application to a Firebase backend for one of my personal projects, I ran into some small issues that set me back some time. Because of this, I decided to write a simple and straightforward article showing you how to connect your Flutter application to a firebase backend for both IOS and Android. After this tutorial, you will be all set to add authentication, cloud Firestore, or any other Firebase feature you might want.

Pre Reqs

To keep this tutorial short, I expect that you have the following:

  1. You have Flutter installed on your machine
  2. You have a Flutter project started already and are ready to connect it with Firebase

If you don’t have those 2 things yet, you can read my last article where I go over how to do just that.

Creating a Firebase Project

Before we start working in Flutter, we need to create a Firebase project.

  1. Go to https://console.firebase.google.com/
  2. Click on Add Project
  3. Enter a project name
  4. Choose if you want Google Analytics to be enabled (I recommend this)

--

--

Benjamin Carlson
The Startup

Software Developer, creator, and writer living and working in CT. I write about coding, finance, startups, and more!