-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
47 lines (38 loc) · 1.3 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
39
40
41
42
43
44
45
46
47
# development | production
NODE_ENV=development
PORT=3000
API_VERSION=v1.0.0
# Examples: all, ["error", "info", "log", "migration", "query", "schema", "warn"]
SYSTEM_LOG_INFO=all
# JWT Authentication Strategy
JWT_SECRET=e267edf0f1a4a62d496a6738aed12266fd1f17136f1d019c88b57e5439855307458b0a2652a5bb6246f636ff265ad2be7c193d155ce46df6e7287de143b2f55b
JWT_EXPIRES_IN=1d
# TypeORM config
TYPEORM_HOST=localhost
TYPEORM_PORT=5432
TYPEORM_USERNAME=postgres
TYPEORM_PASSWORD=postgres
TYPEORM_DATABASE=boilerplate
# Google OAuth2
GOOGLE_CLIENT_ID=912035616805-qvh9m6n4gtqs8pt8ses0li1me48i6jhg.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
GOOGLE_CALLBACK_URL=http://localhost:3000/users/auth/google/redirect
# Cloudinary
CLOUDINARY_NAME=dddj3wlza
CLOUDINARY_API_KEY=459475379216517
CLOUDINARY_API_SECRET=ls-3MzZx9Cs1ogMgO6jDXqYhy3w
# Local Storage
STORAGE_TYPE=local
LOCAL_STORAGE_PATH=/uploads/media
LIMIT_FILE_UPLOAD=10
MAX_FILE_SIZE=5242880 # 5mb
#Momo gateway
MM_HOST_NAME=test-payment.momo.vn
MM_PORT=443
MM_PARTNER_CODE=MOMO
MM_ACCESS_KEY=F8BBA842ECF85
MM_SECRET_KEY=K951B6PE1waDMi640xX08PD3vg6EkVlz
MM_ORDER_INFO=pay_with_MoMo
MM_REDIRECT_URL=https://www.facebook.com/
MM_IPN_URL=https://callback.url/notify
MM_REQUEST_TYPE=captureWallet