-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase.config.js
25 lines (21 loc) · 919 Bytes
/
firebase.config.js
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
// Import the functions you need from the SDKs you need
import { initializeApp } from 'firebase/app';
import { getFirestore } from 'firebase/firestore';
import { getStorage } from 'firebase/storage';
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyD_JG6WStro-mdl5Tw3VB7Rfspd7rmoQfg",
authDomain: "smartbuilder-41425.firebaseapp.com",
projectId: "smartbuilder-41425",
storageBucket: "smartbuilder-41425.firebasestorage.app",
messagingSenderId: "910151364776",
appId: "1:910151364776:web:09b084891b9b8a38f8929d",
measurementId: "G-Y02MRZ22W0"
};
const app = initializeApp(firebaseConfig);
const db = getFirestore(app);
const storage = getStorage(app);
export { db, storage };