-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
32 lines (20 loc) · 852 Bytes
/
config.py
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
class Config:
#Flask App Secret Key
APP_SECRET_KEY = ""
FLASK_JWT_SECRET_KEY = ""
SUPABASE_URL = ""
SUPABASE_KEY = ""
#Supabase Table Config
USERS_TABLE_NAME = "users"
USERS_CATEGORIES_TABLE_NAME = "categories"
USERS_ENTRIES_TABLE_NAME = "entries"
USERS_STREAKS_TABLE_NAME = "streaks"
ADMIN_USERNAME = "aditya76"
GOOGLE_DISCOVERY_URL = "https://accounts.google.com/.well-known/openid-configuration"
GOOGLE_CLIENT_ID = ""
GOOGLE_CLIENT_SECRET = ""
# This is used to encrypt diary title and entries
AES_SECRET = b""
# This is the frontend html file which will be used to do the callback
# Change http://127.0.0.1:5500 to the path where you frontend is deployed
CLIENT_CALLBACK_REDIRECT_URL = "http://127.0.0.1:5500/callback.html"