-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebaseConfig.js
More file actions
26 lines (23 loc) · 962 Bytes
/
firebaseConfig.js
File metadata and controls
26 lines (23 loc) · 962 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 you need
import { initializeApp } from 'firebase/app'
import { getAuth } from 'firebase/auth'
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: 'AIzaSyBTU1CrJgaEswM54synsoe3jl-jLAXHJPg',
authDomain: 'duofit-49c09.firebaseapp.com',
databaseURL: 'https://duofit-49c09-default-rtdb.firebaseio.com',
projectId: 'duofit-49c09',
storageBucket: 'duofit-49c09.appspot.com',
messagingSenderId: '372081593955',
appId: '1:372081593955:web:0cdab27436e19074f6f256',
measurementId: 'G-Z8VHB73J75'
}
// Initialize Firebase
const app = initializeApp(firebaseConfig)
const auth = getAuth(app)
const db = getFirestore(app)
export { auth, app, db}