-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFireBaseScript
More file actions
23 lines (21 loc) · 983 Bytes
/
Copy pathFireBaseScript
File metadata and controls
23 lines (21 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.8.4/firebase-app.js";
import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.8.4/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: "AIzaSyAjpB2JZEWDNsZVX8QRWMuTiO-tQA31zxU",
authDomain: "csce3444-5f9a0.firebaseapp.com",
projectId: "csce3444-5f9a0",
storageBucket: "csce3444-5f9a0.appspot.com",
messagingSenderId: "261798731661",
appId: "1:261798731661:web:310ea302cdb3700cbe27c4",
measurementId: "G-XSBN3ZKG54"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
</script>