-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebaseConfig.js
More file actions
28 lines (23 loc) · 959 Bytes
/
firebaseConfig.js
File metadata and controls
28 lines (23 loc) · 959 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
25
26
27
28
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { getMessaging } from "firebase/messaging";
import { getFirestore } from "firebase/firestore";
// 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
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyClNfZQy118K5vXxwKvBkOchLHaLlt2X30",
authDomain: "hush-48602.firebaseapp.com",
projectId: "hush-48602",
storageBucket: "hush-48602.appspot.com",
messagingSenderId: "299017687433",
appId: "1:299017687433:web:e86490f15ff80e7cd2d158",
measurementId: "G-DPSC87LPKB"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const auth = getAuth(app);
export const db = getFirestore(app);
export default app