-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.json
60 lines (60 loc) · 1.45 KB
/
env.json
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
56
57
58
59
60
{
"NODE_ENV": {
"description": "This defines the current environment",
"validators": [
{
"name": "in",
"options": ["development", "testing", "staging", "production"]
}
]
},
"PORT": {
"description": "This is the port the API server will run on",
"default": 3000
},
"MONGODB_URI": {
"description": "The MongoDB URI"
},
"GET_COINS_INTERVAL_MINUTES": {
"description": "The interval in minutes to retrieve the coins data from 3rd party",
"validators": [
{
"name": "int",
"options": {
"min": 1,
"max": 1440
}
}
]
},
"GET_MARKET_STATS_INTERVAL_MINUTES": {
"description": "The interval in minutes to retrieve the market stats data from 3rd party",
"validators": [
{
"name": "int",
"options": {
"min": 1,
"max": 1440
}
}
]
},
"DAYS_TO_KEEP_COINS_DATA": {
"description": "The number of days to keep the coins data"
},
"DAYS_TO_KEEP_MARKET_STATS": {
"description": "The number of days to keep the global market stats data"
},
"COINMARKETCAP_API_KEY": {
"description": "API key for CoinMarketCap"
},
"COINMARKETCAP_ENDPOINT": {
"description": "Base endpoint for CoinMarketCap API"
},
"COINMARKETCAP_ALL_COINS_PATH": {
"description": "URI path for all coins"
},
"COINMARKETCAP_MARKET_STATS_PATH": {
"description": "URI path for market stats"
}
}