-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfirebaseConfig.js
More file actions
29 lines (26 loc) · 1.16 KB
/
firebaseConfig.js
File metadata and controls
29 lines (26 loc) · 1.16 KB
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
import { initializeApp } from 'firebase/app';
import { getAuth } from 'firebase/auth';
import { getFirestore } from 'firebase/firestore';
import { getStorage } from 'firebase/storage';
// Optionally import the services that you want to use
// import {...} from "firebase/auth";
// import {...} from "firebase/database";
// import {...} from "firebase/firestore";
// import {...} from "firebase/functions";
// import {...} from "firebase/storage";
// Initialize Firebase
const firebaseConfig = {
apiKey: "AIzaSyAXuQ1s2FZQ8cZ_ZTp3Aqg2DUu2od7_7wo",
authDomain: "test-51f02.firebaseapp.com",
projectId: "test-51f02",
storageBucket: "test-51f02.appspot.com",
messagingSenderId: "736246575633",
appId: "1:736246575633:web:c26ee2b637b5c6093ab7b0",
measurementId: "G-YHJ10Y8QBY"
};
export const FIREBASE_APP = initializeApp(firebaseConfig);
export const FIREBASE_DB = getFirestore(FIREBASE_APP);
export const FIREBASE_AUTH = getAuth(FIREBASE_APP);
export const FIREBASE_STORAGE = getStorage(FIREBASE_APP);
// For more information on how to access Firebase in your project,
// see the Firebase documentation: https://firebase.google.com/docs/web/setup#access-firebase