Skip to content

Commit 4ea1e7d

Browse files
Update and rename Js/Auth.js to Firebase.js
Signed-off-by: Abdurhaman Mohammed Ahamed <abdurhamanmohammeda@gmail.com>
1 parent 150a7c1 commit 4ea1e7d

File tree

2 files changed

+24
-42
lines changed

2 files changed

+24
-42
lines changed

Firebase.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// firebase.js
2+
import { initializeApp } from "firebase/app";
3+
import { getAuth } from "firebase/auth";
4+
import { getFirestore } from "firebase/firestore";
5+
// Yoo analytics barbaadde: import { getAnalytics } from "firebase/analytics";
6+
7+
const firebaseConfig = {
8+
apiKey: "AIzaSyC1_0Ptpna4V-2cfyJHNwIvWvbA2eGLv18",
9+
authDomain: "sbm-app-ecf59.firebaseapp.com",
10+
databaseURL: "https://sbm-app-ecf59-default-rtdb.firebaseio.com",
11+
projectId: "sbm-app-ecf59",
12+
storageBucket: "sbm-app-ecf59.firebasestorage.app",
13+
messagingSenderId: "666387083873",
14+
appId: "1:666387083873:web:bfd6d5e064ecaad6c73020",
15+
measurementId: "G-W6VPWH2J3R"
16+
};
17+
18+
// Firebase app
19+
const app = initializeApp(firebaseConfig);
20+
21+
// Services
22+
export const auth = getAuth(app);
23+
export const db = getFirestore(app);
24+
// export const analytics = getAnalytics(app); // barbaadde yoo ta'e

Js/Auth.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)