-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase.js
More file actions
21 lines (18 loc) · 718 Bytes
/
Copy pathfirebase.js
File metadata and controls
21 lines (18 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { GoogleAuthProvider } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyDGoNp7bL22BVvljmjo7qZ3MwVSZdt3tq8",
authDomain: "medium-clone-58bba.firebaseapp.com",
projectId: "medium-clone-58bba",
storageBucket: "medium-clone-58bba.appspot.com",
messagingSenderId: "437288146576",
appId: "1:437288146576:web:54444f1b3d794746882a15",
};
const app = initializeApp(firebaseConfig);
const auth = getAuth(app);
const provider = new GoogleAuthProvider();
const db = getFirestore(app);
export { auth, provider, db };