-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase.js
23 lines (20 loc) · 848 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
import { initializeApp } from "firebase/app";
// import { getAnalytics } from "firebase/analytics";
import { getAuth, GoogleAuthProvider } from "firebase/auth";
import { getFirestore } from "firebase/firestore"
import { getStorage } from "firebase/storage"
const firebaseConfig = {
apiKey: "AIzaSyCUqo5TQvjr1ESHwoiMAIU_UJQDTJyssXo",
authDomain: "firebasics1-d22ad.firebaseapp.com",
projectId: "firebasics1-d22ad",
storageBucket: "firebasics1-d22ad.appspot.com",
messagingSenderId: "347623044705",
appId: "1:347623044705:web:38a40027446f974191dc20",
measurementId: "G-R026X50T01"
};
const app = initializeApp(firebaseConfig);
export const auth = getAuth(app);
export const googleProvider = new GoogleAuthProvider();
export const db = getFirestore(app);
export const storage = getStorage(app);
// const analytics = getAnalytics(app);