-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnodee-total.package.json
171 lines (166 loc) · 6.26 KB
/
nodee-total.package.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name":"nodee-total",
"version":"1.2.9",
"dependencies":[],
"config":{
"name": {
"description": "Application name",
"value": "",
"required": true
},
"default-ip": {
"description": "IP, on which app will be listening (0.0.0.0 means any IP)",
"value": "0.0.0.0",
"required": true
},
"default-port": {
"description": "Port, on which app will be listening",
"value": 8080,
"required": true
},
"minify-scripts": {
"description": "Decide if static scripts will be minified",
"value": true,
"required": false
},
"datasource-primary-host":{
"description": "Primary datasource config is used as default datasource config, usually it is mongodb on localhost",
"value": "localhost",
"required":true
},
"datasource-primary-port":{
"description": "Primary datasource config is used as default datasource config, usually it is mongodb on port 27017",
"value": 27017,
"required":true
},
"datasource-primary-username":{
"description": "Database user name (leave blank if there is no db auth)",
"value": ""
},
"datasource-primary-password":{
"description": "Database user password",
"value": ""
},
"datasource-primary-database":{
"description": "Leave blank to use application name as database name",
"value": ""
},
"auth-key-name": {
"description": "Auth key, used instead of auth cookie in query or header, default is 'apiKey'",
"value": "",
"required": false
},
"session-cookie-name": {
"description": "Session cookie name",
"value": "__user",
"required": true
},
"session-cookie-secure": {
"description": "If checked, session cookie will be send to server only if HTTPS (we strongly recommend to leave it checked)",
"value": true,
"required": true
},
"session-cookie-httpOnly": {
"description": "If checked, session cookie will not be accessible by javascript (we strongly recommend to leave it checked)",
"value": true,
"required": true
},
"session-cookie-expires": {
"description": "Session cookie expiration in hours, after this period, user will be signed out",
"value": 24,
"required": true
},
"auth-default-roles": {
"description": "Default role of every registered user signed in, do not use roles such as 'admin'",
"value": "user",
"required": true
},
"auth-default-allowedIP": {
"description": "Default api allowed IP of every registered user signed in (use '*' to allow any)",
"value": ""
},
"auth-datasource": {
"description": "Auth data source - do not use JsonFileDataSource in production",
"value": [ "MongoDataSource", "JsonFileDataSource" ],
"required": true
},
"auth-datasource-filePath": {
"description": "If using JsonFileDataSource, this will be required",
"value": [ "", "./databases/users.json" ]
},
"auth-datasource-username": {
"description": "If using MongoDataSource, leave blank to use primary datasource database",
"value": ""
},
"auth-datasource-password": {
"description": "If using MongoDataSource, leave blank to use primary datasource database",
"value": ""
},
"auth-datasource-database": {
"description": "If using MongoDataSource, leave blank to use primary datasource database",
"value": ""
},
"auth-datasource-collection": {
"description": "Auth Database collection name",
"value": "users",
"required": true
},
"auth-datasource-caching": {
"description": "Turn off when scaling app horizontally",
"value": true,
"required": true
},
"auth-mailer-use": {
"description": "Which mailer use when sending forgot pass emails",
"value": "mailer-primary",
"required": true
},
"auth-mailer-subject": {
"description": "Forgot pass email subject",
"value": "Password changed",
"required": true
},
"auth-mailer-forgotpass": {
"description": "Forgot pass email template",
"value": "emails/forgotpass",
"required": true
},
"mailer-primary-from": {
"description": "Email from which will be messages come from",
"value": "[email protected]",
"required": true
},
"mailer-primary-name": {
"description": "Message sender name",
"value": "Some Name",
"required": true
},
"mailer-primary-host": {
"description": "Smtp server",
"value": "smtp.gmail.com",
"required": true
},
"mailer-primary-port": {
"description": "Smtp server port (465,587,25,...)",
"value": 465,
"required": true
},
"mailer-primary-secure": {
"description": "Smtp server SSL on/off",
"value": true,
"required": true
},
"mailer-primary-tls": {
"description": "Smtp server secure sending TLS on/off",
"value": [ "", "{ ciphers:'SSLv3' }" ]
},
"mailer-primary-user": {
"description": "Username registered in smtp server (when smtp auth enabled)",
"value": "username"
},
"mailer-primary-password": {
"description": "Password for user registered in smtp server (when smtp auth enabled)",
"value": "password"
}
}
}