forked from bhuvansingla/iitk-coin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
55 lines (45 loc) · 859 Bytes
/
config.yml
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
54
55
SERVER:
HOST: 0.0.0.0
PORT: 8080
DATABASE:
HOST: "localhost"
PORT: 5432
USER: "postgres"
PASSWORD: ""
NAME: "iitkcoin"
WALLET:
UPPER_COIN_LIMIT: 10000
TAX:
INTER_BATCH: 2
INTRA_BATCH: 33
JWT:
ACCESS_TOKEN:
NAME: "access_token"
EXPIRATION_TIME_IN_MIN: 10
REFRESH_TOKEN:
NAME: "refresh_token"
EXPIRATION_TIME_IN_MIN: 50000
PRIVATE_KEY: "this-is-a-secret"
LOGGER:
LOG_LEVEL: 5 # Error: 2, Warn: 3, Info: 4, Debug: 5
FRONTEND:
URL: "http://localhost:3000"
MAIL:
# IITK
# FROM: ""
# PASSWORD: ""
# HOST: "mmtp.iitk.ac.in"
# PORT: "25"
# Gmail
FROM: "[email protected]"
PASSWORD: "password"
HOST: "smtp.gmail.com"
PORT: "587"
OTP:
EXPIRY_PERIOD_IN_MIN: 20
NEW_REQUEST_WAIT_TIME_IN_MIN: 1
TXNID:
REDEEM_SUFFIX: "REDM"
REWARD_SUFFIX: "REWD"
TRANSFER_SUFFIX: "TRNS"
PADDING: 8