Documents the shift planning and closure/payroll modules (new tables, routes, stores), the dark redesign, and the docker-compose-broken-host workaround. Adds CLAUDE.md pointing agents at docs/. Translates README to English and keeps host-specific infrastructure details out of the repo.
730 B
730 B
API
Express routers under /api/*, mounted in backend/src/index.ts. All
responses are JSON except the CSV exports. Errors follow { "error": string }.
- Auth routes -
/api/auth/*- Google sign-in, logout, current session - Attendance routes -
/api/attendance/*- the employee's own clock in/out and stats - Shift planning routes (employee) -
/api/shifts/*- browse open slots, sign up, cancel - Closure routes (employee) -
/api/closure/*- confirm the month's docházka - Admin routes -
/api/admin/*- employee management + pay rates, org/individual stats, shift planning admin, payroll, CSV exports