-
Notifications
You must be signed in to change notification settings - Fork 1
/
tenshi-config.json
106 lines (105 loc) · 3.64 KB
/
tenshi-config.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"COMPANY": {
"NAME" : "Tenshi",
"LOGO" : "https://raw.githubusercontent.com/fabian7593/Tenshi/main/00_external_information/imgs/tenshi_background_2.png",
"BACKEND_HOST": "http://localhost:3000/",
"FRONT_END_HOST": "http://localhost:3000/",
"LOGIN_URL": "http://localhost:3000/",
"RESET_PASSWORD_URL" : "password_reset/",
"MAIN_COLOR": "#0DA5FF",
"BACKGROUND_COLOR": "#FFFFFF",
"LANDING_PAGE": "https://www.example.com"
},
"SERVER" : {
"PORT": 3000,
"SECRET_API_KEY": "8170fcb2-ef45-4173-9a1b-f682d38ddae9",
"VALIDATE_API_KEY" : true,
"MAX_REQUEST_PER_SECOND": 6,
"IS_DEBUGGING": true,
"FAIL_LOGIN_MAX_NUMBER": 3,
"DEFAULT_LANGUAGE" : "en",
"FORMAT_DATE" : "es-ES",
"CUSTOMER_REGULAR_ROLE" : "94db2848-3df7-4593-b90d-1615a700bddd"
},
"SUPER_ADMIN":{
"USER_EMAIL":"[email protected]",
"PASSWORD":"Tenshitest1*",
"FIRST_NAME":"Tenshi",
"LAST_NAME":"Test",
"USERNAME":"tenshitest1",
"ROLE_CODE":"13ebc7f8-6fae-404b-8f9b-2267a3348ca4"
},
"DB": {
"TYPE": "mariadb",
"PORT": 3307,
"HOST": "localhost",
"USER": "root",
"PASSWORD": "",
"NAME": "tenshi",
"CONNECTION_LIMIT": 150
},
"URL_FILES":{
"SAVE_LOGS":"../../logs",
"TEMPLATES_PATH":"../../src/templates",
"EMAIL_LANGUAGES_PATH":"../../src/data/json/emailMessages",
"REGEX_JSON":"/src/data/json/regex.json",
"ROLES_JSON":"./src/data/json/roles.json"
},
"LOG": {
"LOG_SERVER":true,
"LOG_TRACEABILLITY":true,
"LOG_DATABASE":true,
"LOG_FILE":true,
"LOG_MIDDLEWARE":false
},
"HTTP_REQUEST":{
"PAGE_SIZE": 3000,
"PAGE_OFFSET":1,
"REQUEST_WITHOUT_JWT": ["login", "refresh_token",
"register", "confirmation_register",
"forgot_password", "verify_forgot_password",
"reset_password", "recover_user", "active_user"],
"REQUEST_WITHOUT_API_KEY": ["confirmation_register", "verify_forgot_password", "active_user"]
},
"JWT": {
"MAIN_TOKEN" :{
"EXPIRE": "30000s",
"SECRET_KEY": "f749b45a-06e9-4dcb-a842-630184b443f6"
},
"REFRESH_TOKEN" :{
"EXPIRE": "1d",
"SECRET_KEY": "44e7d167-f31e-41f4-9e48-e6218fbf0a41"
},
"FORGOT_PASS_TOKEN" :{
"EXPIRE": "900s",
"SECRET_KEY": "f749b45a-45y5-77ty-12we-630184b443f6"
},
"REGISTER_TOKEN" :{
"EXPIRE": null,
"SECRET_KEY": "44fr2167-1oi8-55ht-3ew1-630184b443f6"
}
},
"FILE_STORAGE":{
"GENERAL":{
"MAX_FILE_SIZE" : 50
},
"AWS": {
"BUCKET_NAME": "bucket-name-777",
"REGION": "us-east-2",
"ACCESS_KEY": "AKIAZQ3DRSPRNUX52EUI",
"SECRET_ACCESS_KEY": "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",
"MINUTES_LIMIT_PRIVATE_FILE": 120,
"PUBLIC_FOLDER" : "/PublicFiles/"
}
},
"EMAIL" : {
"SERVICE" : "gmail",
"AUTH_USER": "[email protected]",
"AUTH_PASSWORD": "xnqitxldphiymoov",
"EMAIL_FROM": "[email protected]"
},
"TEST" : {
"JWT_TEST": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM2ZDBhZTQ5LWUzMTMtNDUwZC1iNjE3LTcyYjNjZjg2M2ZiZSIsImVtYWlsIjoidGVuc2hpdGVzdDFAZ21haWwuY29tIiwicm9sZSI6IkFETUlOIiwiaWF0IjoxNzMxMjc5NDQ2LCJleHAiOjE3MzEzMDk0NDZ9.SsJ2tIyXCTeu1a3_WMC-DVmxWp0bU-lz7wFvUmkn2xw",
"ROLE_TEST": "TEST"
}
}