add body-parser for validation,

add cors for CORS headers,
add helmet for security,
add morgan for logging

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-17 15:10:11 -08:00
parent d6af5518de
commit ae0c197821

View File

@ -3,6 +3,10 @@
"version": "0.0.1",
"description": "REST API for ProxmoxAAS",
"dependencies": {
"express": "^4.18.2"
"body-parser": "^1.20.1",
"cors": "^2.8.5",
"express": "^4.18.2",
"helmet": "^6.0.1",
"morgan": "^1.10.0"
}
}