...

/

Setting Up a Firebase Project

Setting Up a Firebase Project

Learn to set up a Firebase project and set up your Flutter application to use Firebase plugins.

Introduction

Firebase is a fully managed back-end service. It consists of a bunch of useful services like:

  • Database
  • File storage
  • Authentication
  • Push notification
  • Analytics
  • Crash reporting
  • User events
  • Remote config

When storing app data for multiple users that sometimes needs to be displayed, we will need to use a cloud storage service like Firebase.

In this chapter, we’ll learn the following:

  • Setting up a Firebase project
  • Integrating Firebase Authentication in our Flutter app
  • Using the Cloud Firestore database
  • Building a real-time chat app with Firebase

Creating a Firebase project

  1. Visit the Firebase website and open the console. If you do not have an account, create one.

  2. In the Firebase console, click “Create a project” for first-time users. If you have existing projects, click “Add project.”

  3. Enter a name for your app and click “Continue.” ...