-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfirebase-script.txt
24 lines (22 loc) · 1.05 KB
/
firebase-script.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.6.0/firebase-app.js";
import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.6.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: "AIzaSyDF7I1sGx6YuT60KLkHVdRLIxp814dKlHw",
authDomain: "ecommerce-test-a26fc.firebaseapp.com",
databaseURL: "https://ecommerce-test-a26fc-default-rtdb.firebaseio.com",
projectId: "ecommerce-test-a26fc",
storageBucket: "ecommerce-test-a26fc.appspot.com",
messagingSenderId: "690458204945",
appId: "1:690458204945:web:674ed644f21a1ca5d64ab0",
measurementId: "G-W3VEWVWQQ0"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
</script>