-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirebase.js
More file actions
24 lines (21 loc) · 850 Bytes
/
Firebase.js
File metadata and controls
24 lines (21 loc) · 850 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
// firebase.js
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
// Yoo analytics barbaadde: import { getAnalytics } from "firebase/analytics";
const firebaseConfig = {
apiKey: "AIzaSyC1_0Ptpna4V-2cfyJHNwIvWvbA2eGLv18",
authDomain: "sbm-app-ecf59.firebaseapp.com",
databaseURL: "https://sbm-app-ecf59-default-rtdb.firebaseio.com",
projectId: "sbm-app-ecf59",
storageBucket: "sbm-app-ecf59.firebasestorage.app",
messagingSenderId: "666387083873",
appId: "1:666387083873:web:bfd6d5e064ecaad6c73020",
measurementId: "G-W6VPWH2J3R"
};
// Firebase app
const app = initializeApp(firebaseConfig);
// Services
export const auth = getAuth(app);
export const db = getFirestore(app);
// export const analytics = getAnalytics(app); // barbaadde yoo ta'e