-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.js
More file actions
26 lines (19 loc) · 768 Bytes
/
Copy pathfirebase.js
File metadata and controls
26 lines (19 loc) · 768 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
// Import the functions you need from the SDKs
import { initializeApp } from 'firebase/app';
import { getAuth } from 'firebase/auth';
import { getFirestore } from 'firebase/firestore';
// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyCxvFGwYo-NVVoEWNNbclowLwnLtCptc7g",
authDomain: "hygieia-7881d.firebaseapp.com",
projectId: "hygieia-7881d",
storageBucket: "hygieia-7881d.appspot.com",
messagingSenderId: "887669051108",
appId: "1:887669051108:web:4de5fe16ebf823a6e5e6f1"
};
// Initialize Firebase
const firebaseApp = initializeApp(firebaseConfig);
// Initialize Firebase Authentication and Firestore
export const auth = getAuth(firebaseApp);
export const db = getFirestore(firebaseApp);
export default firebaseApp;