toanhoang a8964a091a feat: add Employee API routes
POST/GET /api/employees, same thin-route pattern as
src/app/api/requests/route.ts including the auth() 401 check
(middleware.ts excludes /api from page-route gating). POST also
surfaces createEmployee()'s FK-violation translation (nonexistent
managerId) as a 400, not a raw 500.
2026-07-31 14:55:50 +07:00
2026-07-31 14:55:50 +07:00
S
Description
No description provided
950 KiB
Languages
TypeScript 98%
CSS 1.7%
Dockerfile 0.2%