-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.js
More file actions
21 lines (19 loc) · 829 Bytes
/
firebase.js
File metadata and controls
21 lines (19 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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: "AIzaSyCT8KicL4mMq_wsQhbGlcPLYYgpJnaSwNQ",
authDomain: "studytimer-8b30a.firebaseapp.com",
projectId: "studytimer-8b30a",
storageBucket: "studytimer-8b30a.appspot.com",
messagingSenderId: "558952340161",
appId: "1:558952340161:web:03f368a277ba854ee75240",
measurementId: "G-M4B5ZKVWYF"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);