-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_config.example.js
43 lines (35 loc) · 899 Bytes
/
_config.example.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
35
36
37
38
39
40
41
42
43
import { initializeApp } from 'firebase/app'
import { getFirestore } from 'firebase/firestore/lite'
import { getAuth } from 'firebase/auth'
/**
* Firebase Configueration Details
*/
const firebaseConfig = {
apiKey: 'sample_key',
authDomain: 'sample_domain',
projectId: 'project_name',
storageBucket: 'bucket_address',
messagingSenderId: 'messaging_id',
appId: 'appplication_arn',
}
// Initialize Firebase
const firebaseApp = initializeApp(firebaseConfig)
/**
* Firestore DB Object
*/
export const db = getFirestore(firebaseApp)
/**
* Firebase Authentication Object
*/
export const auth = getAuth(firebaseApp)
/**
* Determines if the app is at development environment
*
*/
export const devEnv = true
/**
* The Apikey for https://www.goldapi.io
*/
export const goldApiDotIoApiKey = 'goldapi-apikey'
export const XEApiID = 'xe_api_id'
export const XEApiKey = 'xe_api_key'