forked from zine-robotics/zine-website-2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase.js
27 lines (23 loc) · 986 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
24
25
26
27
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { getStorage } from "firebase/storage";
import { getFirestore } from "firebase/firestore";
// 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: "AIzaSyBKO7_pIyHv2MMTrKaHeaWZ_EKO23j4D8Q",
authDomain: "zineapp-a672b.firebaseapp.com",
projectId: "zineapp-a672b",
storageBucket: "zineapp-a672b.appspot.com",
messagingSenderId: "471463933365",
appId: "1:471463933365:web:2783da7444a7780a1b95fc",
measurementId: "G-4FFH53SGQY",
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const auth = getAuth(app);
export const storage = getStorage(app);
export const db = getFirestore(app);