Updated backend

- Added better anti DoS protection
- Added better security measures (HTTP headers, etc.)
- Added TLS support
- Added support for configurable rate limiting
- Added default 404 and error handling
- Updated proxy settings
- Updated env naming
This commit is contained in:
2024-03-31 20:50:58 +02:00
parent abd6f6747f
commit d93bfe333d
10 changed files with 147 additions and 34 deletions

View File

@@ -17,9 +17,11 @@
"dependencies": {
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"express": "^4.18.2",
"express": "^4.19.2",
"express-rate-limit": "^7.1.4",
"express-slow-down": "^2.0.1",
"helmet": "^7.1.0",
"https": "^1.0.0",
"jsonwebtoken": "^9.0.2",
"level": "^8.0.1",
"morgan": "^1.10.0",