forked from PrincessMaggy/africhow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase.js
36 lines (28 loc) · 1.14 KB
/
firebase.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
26
27
28
29
30
31
32
33
34
35
36
// 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';
import {getAuth} from 'firebase/auth';
const firebaseConfig = {
apiKey: 'AIzaSyBnm-jNCKxjbEOESWJ_mtSNS6OBX06Dpmw',
authDomain: 'africhow-47096.firebaseapp.com',
projectId: 'africhow-47096',
storageBucket: 'africhow-47096.appspot.com',
messagingSenderId: '231406576720',
appId: '1:231406576720:web:ce278d64e47223a70f5d55',
measurementId: 'G-T1NCL81G0V',
};
{/*const firebaseConfig1 = {
apiKey: "AIzaSyAI05thYl2JEsZg8rbf9xhlydog1dwzYPA",
authDomain: "africhow-capstone-9ddf7.firebaseapp.com",
projectId: "africhow-capstone-9ddf7",
storageBucket: "africhow-capstone-9ddf7.appspot.com",
messagingSenderId: "716871625901",
appId: "1:716871625901:web:06ec3a7efb7efb4d6d2a24"
};*/}
// Initialize Firebase
const app = initializeApp(firebaseConfig);
//const app1 = initializeApp(firebaseConfig1, 'app1');
export const db = getFirestore(app);
export const storage = getStorage(app);
export const auth = getAuth(app);