-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfirebase.js
23 lines (21 loc) · 1002 Bytes
/
firebase.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
console.log("running firebase.js")
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.5.0/firebase-app.js";
import { getAnalytics } from "https://www.gstatic.com/firebasejs/10.5.0/firebase-analytics.js";
// 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: "AIzaSyC1bG8RG8vhH_G8O9AmSSIrFKIuTN6Ppm4",
authDomain: "othlanding.firebaseapp.com",
databaseURL: "https://othlanding-default-rtdb.firebaseio.com",
projectId: "othlanding",
storageBucket: "othlanding.appspot.com",
messagingSenderId: "516659795219",
appId: "1:516659795219:web:42201a6485e2fc873336e6",
measurementId: "G-J7SBTGESD1"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);