1import firebase from 'firebase';
2
3const firebaseConfig = {
4 // config file from firebase
5};
6
7const firebaseApp = firebase.initializeApp(firebaseConfig);
8
9// for database
10const db = firebaseApp.firestore();
11// for file uploading
12const storage = firebase.storage();
13// for authentication
14const auth = firebase.auth();
15// for google authentication
16const provider = new firebase.auth.GoogleAuthProvider();
17
18export { auth, provider, db };
19