This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
generated from MarkNjunge/nest-boilerplate
/
default.json
78 lines (77 loc) · 1.79 KB
/
default.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"env": "development",
"port": 3000,
"swaggerEndpoint": "docs",
"rateLimit": {
"enabled": true,
"max": 100,
"timeWindow": "1m"
},
"corsOrigin": "*",
"corsMethods": "*",
"corsHeaders": "*",
"validatorForbidUnknown": true,
"logging": {
"timestampFormat": "YYYY-MM-DD HH:mm:ss.SSS",
"sensitiveParams": [
"session-id",
"sessionId",
"admin-key",
"password",
"idToken",
"billingAddress",
"billingCity",
"billingCountry",
"billingState",
"billingZip",
"cardNo",
"cvv",
"expiryMonth",
"expiryYear"
],
"replacementString": "REDACTED"
},
"adminKey": "admin_key",
"db": {
"url": "postgres://username:password@host:port/database",
"ssl": false
},
"google": {
"clientId": "google_client_id",
"serviceAccountKeyUrl": "service_account_key_url.json",
"databaseURL": "https://your-project.firebaseio.com",
"projectId": "project_id",
"imagesBucketName": "images.justjava.store"
},
"redis": {
"url": "redis://:password@host:port/0"
},
"mpesa": {
"consumerKey": "consumer_key",
"consumerSecret": "consumer_secret",
"callbackBaseUrl": "base_url_where_your_api_is_hosted_without_slash"
},
"rave": {
"encryptionKey": "encryption_key",
"publicKey": "public_key"
},
"datadog": {
"enabled": false,
"apiKey": "datadog_api_key",
"service": "dev.justjava",
"source": "justjava-api",
"host": "justjava.store"
},
"mailgun": {
"enabled": true,
"domain": "your-mailgun-domain",
"apiKey": "key-abc123",
"from": "Name <address@mail.example.com>"
},
"queue": {
"redisUrl": "redis://:password@host:port/0",
"serviceName": "dev.justjava",
"mpesaCheckDelay": 30000,
"maxMpesaCheckAttempts": 5
}
}