Food Hunter
Search…
Prepare Firebase
How to configure Firebase

Setting Firebase secrets

At first, let's set secrets of our Firebase. Go to Firebase console and find "Add app":
Then, choose "web app" and click next.
You should get secret keys of your app. Copy them to src/config/secret.ts
1
export const firebaseConfig = {
2
apiKey: "YOUR_API_KEY",
3
authDomain: "YOUR_AUTH_DOMAIN",
4
projectId: "YOUR_PROJECT_ID",
5
storageBucket: "YOUR_STORAGE_BUCKET",
6
messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
7
appId: "YOUR_APP_ID",
8
measurementId: "YOUR_MEASUREMENT_ID",
9
};
Copied!
Replace with your secret keys
Fine! You are ready for next step 🥳
Last modified 8mo ago
Copy link