Quick StartWeb AppFirebase Integration

Firebase Integration

  1. Make sure that inside the Firebase Console project settings, you have enabled the Web SDK.

After the Web SDK is enabled, you should see something like this:


Firebase

Notice the firebaseConfig object.

  1. In the root of the project, inside the src folder, there already exists a file called firebase.example.ts.

You need to create a new file called firebase.ts (in the same src folder) and copy the content from firebase.example.ts to firebase.ts.

  1. Inside the firebase.ts file, you need to replace the firebaseConfig object with the one from the Firebase Console.

Your file should look something like this:


Firebase