-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebaseConfig.js
More file actions
22 lines (20 loc) · 882 Bytes
/
firebaseConfig.js
File metadata and controls
22 lines (20 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
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
export const firebaseConfig = {
apiKey: "AIzaSyBZTEea2EzFDjv-cAGJqAg_DjqVZ0sKHtM",
authDomain: "kaltrack-fa83e.firebaseapp.com",
projectId: "kaltrack-fa83e",
storageBucket: "kaltrack-fa83e.appspot.com",
messagingSenderId: "416311505314",
appId: "1:416311505314:web:14c1ebc3d391611bab02fb",
measurementId: "G-KZKRVDMMNX"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const db = getFirestore(app);