-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.js
More file actions
26 lines (23 loc) · 930 Bytes
/
firebase.js
File metadata and controls
26 lines (23 loc) · 930 Bytes
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
26
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
import { getDatabase } from "firebase/database";
import { getStorage } from "firebase/storage";
const firebaseConfig = {
apiKey: "AIzaSyAVwIS58s0XLK0zviKE27MNKC8tVK9nfHM",
authDomain: "marketmate-efce8.firebaseapp.com",
databaseURL: "https://marketmate-efce8-default-rtdb.firebaseio.com",
projectId: "marketmate-efce8",
storageBucket: "marketmate-efce8.firebasestorage.app",
messagingSenderId: "917097388170",
appId: "1:917097388170:web:ce07b694aebfdaa3de7573",
measurementId: "G-QKS1YV80SZ",
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
// Initialize Firebase services
const auth = getAuth(app);
const firestore = getFirestore(app);
const database = getDatabase(app);
const storage = getStorage(app);
export { auth, firestore, database, storage };