Food Hunter
  • Introduction
  • Before installation
    • Prepare Firebase
    • Setup database
  • Admin installation
    • Import demo data
    • Deploy backend
    • Run local
    • Deploy frontend
  • Client app installation
    • About
    • Features
    • Connect with backend
    • Run app
    • Customization
    • Publishing
  • DEFINE BASICS
    • Adding users
    • Adding restaurant
Powered by GitBook
On this page

Was this helpful?

  1. Before installation

Prepare Firebase

How to configure Firebase

PreviousIntroductionNextSetup database

Last updated 2 years ago

Was this helpful?

Setting Firebase secrets

At first, let's set secrets of our Firebase. Go to and find "Add app":

Then, choose "web app" and click next.

You should get secret keys of your app. Copy them to src/config/config.ts

export const firebaseConfig = {
  apiKey: "YOUR_API_KEY",
  authDomain: "YOUR_AUTH_DOMAIN",
  projectId: "YOUR_PROJECT_ID",
  storageBucket: "YOUR_STORAGE_BUCKET",
  messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
  appId: "YOUR_APP_ID",
  measurementId: "YOUR_MEASUREMENT_ID",
};

Replace with your secret keys

Fine! You are ready for next step 🥳

Firebase console