-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathfirebase-config.js
25 lines (23 loc) · 986 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 { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
import { getStorage } from "firebase/storage";
import { GoogleAuthProvider } from "firebase/auth";
// 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
const firebaseConfig = {
apiKey: "AIzaSyD0uYwFVNFcmN11JipsKB9lPzNwfN17oKY",
authDomain: "edunity-e582b.firebaseapp.com",
projectId: "edunity-e582b",
storageBucket: "edunity-e582b.appspot.com",
messagingSenderId: "1072910471111",
appId: "1:1072910471111:web:d777c12baea67c6f0753e2"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const db = getFirestore(app);
export const auth = getAuth(app);
export const storage = getStorage(app);
export const provider = new GoogleAuthProvider();