-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
34 lines (22 loc) · 881 Bytes
/
config.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
28
29
30
31
32
33
34
import firebase from 'firebase/app';
import 'firebase/auth';
import 'firebase/firestore';
import 'firebase/storage';
import { initializeApp } from 'firebase/app';
import { getFirestore } from 'firebase/firestore/lite';
import { getStorage } from 'firebase/storage';
const firebaseConfig = {
apiKey: "AIzaSyAN6edHQCi-l1Ufrq8HcNVJb79sohWyV5I",
authDomain: "office-management-975f6.firebaseapp.com",
projectId: "office-management-975f6",
storageBucket: "office-management-975f6.appspot.com",
messagingSenderId: "648396416824",
appId: "1:648396416824:web:069b17530e6dcfc72d03cd",
measurementId: "G-5XPTJHPR2T"
};
// Initialize Firebase
export const app = initializeApp(firebaseConfig);
export const db = getFirestore(app);
export const storage = getStorage(app);
export default firebase;
export const API_BASE_URL = 'http://192.168.8.103:4000';