-
Notifications
You must be signed in to change notification settings - Fork 10
/
.env.example
38 lines (38 loc) · 1.18 KB
/
.env.example
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
# ~~~~~~~~~~~~~~~~ APP
APP_DEBUG=true
APP_URL=http://localhost:5000
APP_HOST=http://localhost
APP_PORT=5000
# ~~~~~~~~~~~~~~~~ AUTH
AUTH_JWT_ACCESS_TOKEN_SECRET=mySecretCode
AUTH_JWT_REFRESH_TOKEN_SECRET=mySecretCode
AUTH_BASIC_AUTH_USERNAME=myBasicUsername
AUTH_BASIC_AUTH_PASSWORD=myBasicPassword
# check this for time formats-> https://github.com/vercel/ms
AUTH_JWT_ACCESS_TOKEN_EXPIRED=1m
AUTH_JWT_REFRESH_TOKEN_EXPIRED=1d
AUTH_GET_CURRENT_USER_ON_REQUEST=true
AUTH_EMAIL_VERIFICATION=false
# ~~~~~~~~~~~~~~~~ DATABASE
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_NAME=mydatabase
DB_USERNAME=root
DB_PASSWORD=
DB_DEBUG_LOG=false
# ~~~~~~~~~~~~~~~~ MEDIA
MEDIA_STORAGE=local # local | firebase
MEDIA_LOCAL_STORAGE_DIR_NAME=storage
# ~~~~~~~~~~~~~~~~ FIREBASE
FIREBASE_STORAGE_BUCKET= # firebase storage bucket. example: gs://xxxxxx.appspot.com
FIREBASE_SERVICE_ACCOUNT_BASE64= # base64 of firebaseServiceAccount.json
FIREBASE_CLOUD_MESSAGING_SERVER_KEY= # fcm key
# ~~~~~~~~~~~~~~~~ LOCALE
LOCALE_USE=false
# ~~~~~~~~~~~~~~~~ MAIL
MAIL_HOST= # example: smtp.gmail.com | smtp-relay.sendinblue.com | smtp.mailtrap.io
MAIL_PORT=587
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM= # nodemitest@gmail.com