First part of backend rework

- Added the base data structure for the new database
- Added the new routes for the new database
- Reworked the users endpoints
This commit is contained in:
2024-02-26 10:20:29 +01:00
parent 902bab14c7
commit 0ddbc437b9
40 changed files with 1237 additions and 1911 deletions

View File

@@ -3,6 +3,11 @@
"module": "index.js",
"type": "module",
"devDependencies": {
"@types/cookie-parser": "^1.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/nodemailer": "^6.4.14",
"bun-types": "latest",
"eslint": "^8.54.0"
},
@@ -16,12 +21,11 @@
"express-rate-limit": "^7.1.4",
"express-slow-down": "^2.0.1",
"jsonwebtoken": "^9.0.2",
"level": "^8.0.0",
"leveldown": "^6.1.1",
"levelup": "^5.1.1",
"level": "^8.0.1",
"morgan": "^1.10.0",
"mysql2": "^3.6.4",
"nodemailer": "^6.9.7",
"node-cron": "^3.0.3",
"nodemailer": "^6.9.10",
"path": "^0.12.7",
"pino": "^8.16.2"
}