-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
21 lines (19 loc) · 765 Bytes
/
config.py
File metadata and controls
21 lines (19 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from dotenv import load_dotenv
import os
load_dotenv()
config ={
'FIREBASE_CONFIG': {
'apiKey': os.getenv('FIREBASE_API_KEY'),
'authDomain': os.getenv('FIREBASE_AUTH_DOMAIN'),
'databaseURL': os.getenv('FIREBASE_DATABASE_URL'),
'projectId': os.getenv('FIREBASE_PROJECT_ID'),
'storageBucket': os.getenv('FIREBASE_STORAGE_BUCKET'),
'messagingSenderId': os.getenv('FIREBASE_MESSAGING_SENDER_ID'),
'appId': os.getenv('FIREBASE_APP_ID'),
'measurementId': os.getenv('FIREBASE_MEASUREMENT_ID')
},
'secret_key': os.getenv('SECRET_KEY'),
'GOOGLE_CLIENT_ID': os.getenv('GOOGLE_CLIENT_ID'),
'GOOGLE_CLIENT_SECRET': os.getenv('GOOGLE_CLIENT_SECRET'),
'MONGO_URI': os.getenv('MONGO_URI')
}