-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
53 lines (45 loc) · 1.43 KB
/
.env.sample
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
44
45
46
47
48
49
50
51
52
53
# Main settings
ON_TEST=yes
PORT=3000
SERVER_INIT_TIME=15
# Client URL (do not put / at tail)
CLIENT_URL=https://wnc-auction.netlify.app
# Cors settings
#CORS_WHITELIST=http://127.0.0.1:5500, http://127.0.0.1:5555
#CORS_ACCEPT_SETTING=(*)
#CORS_METHODS=GET, POST, DELETE, PUT
# DB connection settings
DB_ENABLE_SSL=no
DB_SQL_TYPE='mysql'
DB_IP='127.0.0.1'
DB_PORT=3306
DB_USERNAME='root'
DB_PASSWORD=''
DB_NAME=CCNLTHD
DB_MIN_CONNECT=0
DB_MAX_CONNECT=50
# DB always as UTC timezone (GMT +00) on production, local is your timezone
DB_TIMEZONE='+00:00'
# JWT settings
JWT_HEADER=token
JWT_SECRET_KEY=12345678910
JWT_LIVE_MINUTES=10
# MAILER settings
SENDINBLUE_LOGO_URL=https://upload.wikimedia.org/wikipedia/commons/thumb/5/53/Google_%22G%22_Logo.svg/1200px-Google_%22G%22_Logo.svg.png
SENDINBLUE_FROM_NAME=EzBid
SENDINBLUE_API_KEY=1245
# CLOUDINARY settings
CLOUDINARY_NAME=Your Cloud Name
CLOUDINARY_API_KEY=123456
CLOUDINARY_API_SECRET=123456
CLOUDINARY_STORAGE_FOLDER='CCNLTHD'
IMG_TEMP_FOLDER='./src/routes/images/img-temp/'
MAX_IMAGE_SIZE_MB=3
# reCAPTCHA-v2 invisible settings
CAPTCHA_V2_PUBLIC=12345
CAPTCHA_V2_PRIVATE=123456
###############################################
# DELETE all (...) and all this in real .env
# (*) SERVER-SERVER: accept REST tools or Server-to-server, others system and client in browser can access, else: only client in browser can access