-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase-config.js
26 lines (21 loc) · 933 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
26
import { initializeApp } from 'firebase/app';
// Optionally import the services that you want to use
import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
// Initialize Firebase
// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyD4GqWjGCG8qtsWBnDxBAGep9qIT2JMKA4",
authDomain: "halo-base.firebaseapp.com",
projectId: "halo-base",
storageBucket: "halo-base.appspot.com",
messagingSenderId: "218350299706",
appId: "1:218350299706:web:c7357d69fe632f7736a303"
};
const app = initializeApp(firebaseConfig);
// For more information on how to access Firebase in your project,
// see the Firebase documentation: https://firebase.google.com/docs/web/setup#access-firebase
// Initialize Firebase Authentication and get a reference to the service
export const auth = getAuth(app);
// Do the same for firestore
export const db = getFirestore(app);