Add tests and fix docker files

This commit is contained in:
Yusuf Yilmaz 2022-05-27 15:04:54 +02:00
commit f527b13535
30 changed files with 2126 additions and 4468 deletions

43
config/project-config.js Normal file
View file

@ -0,0 +1,43 @@
{
"host": "0.0.0.0",
"port": 7777,
"keyLength": 10,
"maxLength": 400000,
"staticMaxAge": 86400,
"recompressStaticAssets": true,
"logging": [
{
"level": "verbose",
"type": "Console",
"colorize": true
}
],
"keyGenerator": {
"type": "phonetic"
},
"rateLimits": {
"categories": {
"normal": {
"totalRequests": 500,
"every": 60000
}
}
},
"storage": {
"type": "file"
},
"documents": {
"about": "./about.md"
}
}