-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase-config.js
More file actions
25 lines (22 loc) · 1.2 KB
/
Copy pathfirebase-config.js
File metadata and controls
25 lines (22 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// ============================================================
// firebase-config.js — shared across all pages
// Replace the firebaseConfig object with your own project's
// values from: Firebase Console → Project Settings → General
// ============================================================
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.12.0/firebase-app.js";
import { getAuth } from "https://www.gstatic.com/firebasejs/10.12.0/firebase-auth.js";
import { getFirestore } from "https://www.gstatic.com/firebasejs/10.12.0/firebase-firestore.js";
import { getStorage } from "https://www.gstatic.com/firebasejs/10.12.0/firebase-storage.js";
// 🔴 REPLACE THIS with your own Firebase project config
const firebaseConfig = {
apiKey: "AIzaSyBXgJLnMecxrA4mSgf-MKWuB7cgIhezUtI",
authDomain: "accountauth-9764e.firebaseapp.com",
projectId: "accountauth-9764e",
storageBucket: "accountauth-9764e.firebasestorage.app",
messagingSenderId: "366213820576",
appId: "1:366213820576:web:5da5e327c31a0dccd099c5"
};
const app = initializeApp(firebaseConfig);
export const auth = getAuth(app);
export const db = getFirestore(app);
export const storage = getStorage(app);