0.2.23 • Published 2 years ago
wulfy v0.2.23
Wulfy 0.3
[ EN | RU ]
Config
The path to the file is defined by the "CONFIG_FILE" environment variable. Default "config.json".
Example config-file:
{
// Config server
"server":{
// Port for HTTP-Server
"http_port": 80,
// Port for HTTPS-Server (Optional. Ignored without "certificate" and "private_key")
"https_port": 443,
// Redirect to HTTPS-Server (Optional. Ignored without "certificate" and "private_key")
"tls_redirect": true,
// File with Private Key for HTTPS-Server (Optional. Required with "certificate")
"private_key": "path/to/file.key",
// File with Certificate for HTTPS-Server (Optional. Required with "private_key")
"certificate": "path/to/file.cert"
},
// Path to controllers
"controllers": [
"path/to/controllers",
"controllers/**/*.js"
],
// List static dirs
"static": {
"/starts_url": ["path/to/static/folder1", "path/to/static/folder2"],
"/": "public"
},
// Path to services
"services": [
"path/to/services"
],
// Path to controllers with error handlers
"error": [
"path/to/controllers",
"controllers/error.js",
]
}
TODO
- Controllers Router
- Statics Router
- Errors Router
- Services (templates, models, etc.)
- Clusters
- External modules
- Variables for Config-File
- CLI
- Lifecicle
^1: Icon download from svgrepo.con
0.3.1
2 years ago
0.2.23
2 years ago
0.2.22
2 years ago
0.2.21
2 years ago
0.3.0
2 years ago
0.2.20
3 years ago
0.2.19
3 years ago
0.2.18
3 years ago
0.2.17
3 years ago
0.2.16
3 years ago
0.2.15
3 years ago
0.2.14
3 years ago
0.2.13
3 years ago
0.2.12
3 years ago
0.2.11
3 years ago
0.2.10
3 years ago
0.2.9
3 years ago
0.2.8
3 years ago
0.2.7
3 years ago
0.2.6
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago