-
Notifications
You must be signed in to change notification settings - Fork 1
/
firebase.config
26 lines (22 loc) · 992 Bytes
/
firebase.config
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 { getAnalytics } from "firebase/analytics";
// 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: "AIzaSyCeEml98Ow9_ecdrOEtGqeMuYo7BkxtWGY",
authDomain: "or-api-83cb4.firebaseapp.com",
projectId: "or-api-83cb4",
storageBucket: "or-api-83cb4.firebasestorage.app",
messagingSenderId: "367037956630",
appId: "1:367037956630:web:d1ec9e9519781602aa2b37",
measurementId: "G-F6WBD78ZVR"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
const app = firebase.initializeApp(firebaseConfig);
const db = firebase.firestore(); // Get a reference to Firestore
export { db }; // Export the Firestore instance