-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
27 lines (25 loc) · 935 Bytes
/
.env
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
PORT = 8001
DB_HOST="localhost"
DB_USERNAME= "postgres"
DB_PASSWORD= "1221121212"
DB_NAME="PERFUME-SHOP"
# JWT and Hash
HASH_SALT="@Hash_hash_he_he_hi_hi@"
JWT_SECRET_ACCESS_TOKEN="123!@#JWT_SECRET!@!"
JWT_SECRET_REFRESH_TOKEN="456!@#JWT_SECRET!@#"
JWT_SECRET_EMAIL_VERIFY_TOKEN="789!@#JWT_SECRET!@$"
JWT_SECRET_FORGOT_PASSWORD_TOKEN = "789!@#JWT_SECRET@@!!@$"
# JWT Expiration Time
# nếu kiểu number thì mặc định là giây, nếu string thì phải thêm đơn vị (s, m, h, d, w)
# string mà không có đơn vị thì mặc định là milisecond
REFRESH_EXPIRES_IN="3d"
ACCESS_EXPIRES_IN="150m"
EMAIL_VERIFY_TOKEN_EXPIRES_IN="1d"
FORGOT_PASSWORD_TOKEN_EXPIRES_IN="1d"
CLIENT_URL = "http://localhost:5173"
# aws ses
BUCKET_NAME='tweet-nest'
AWS_ACCESS_KEY_ID='AKIA6GBMA6UNO4CQXBU4'
AWS_SECRET_ACCESS_KEY='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'
AWS_REGION='ap-southeast-1'
SES_FROM_ADDRESS='[email protected]'