feat: add Zod validation and English translations

- Add validation schemas for all admin endpoints
- Add English (en.json) i18n translations
- Improve input validation using Zod
- Add better error handling for all CRUD operations
This commit is contained in:
TenerifeProp Dev
2026-04-05 00:06:10 +01:00
parent 3bbbb126ab
commit abbbce4627
5 changed files with 529 additions and 147 deletions

View File

@@ -12,13 +12,14 @@
"test": "bun test"
},
"dependencies": {
"hono": "^4.0.0",
"bcrypt": "^5.1.0",
"uuid": "^9.0.0"
"hono": "^4.0.0",
"uuid": "^9.0.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/bcrypt": "^6.0.0",
"@types/bun": "latest",
"@types/bun": "^1.3.11",
"typescript": "^5.3.0"
}
}