Google-SSO PWA for bistro employee clock-in/out, admin employee management, and stats with CSV export. Express + SQLite backend, React + Zustand frontend in the light-mono-tui design language. Multi-stage Dockerfile, compose.yaml for image-based deploys, nginx reverse-proxy template, and an OKF documentation bundle in docs/. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9 lines
471 B
Markdown
9 lines
471 B
Markdown
# API
|
|
|
|
Express routers under `/api/*`, mounted in `backend/src/index.ts`. All
|
|
responses are JSON except the CSV export. Errors follow `{ "error": string }`.
|
|
|
|
- [Auth routes](./auth-routes.md) - `/api/auth/*` - Google sign-in, logout, current session
|
|
- [Attendance routes](./attendance-routes.md) - `/api/attendance/*` - the employee's own clock in/out and stats
|
|
- [Admin routes](./admin-routes.md) - `/api/admin/*` - employee management, org/individual stats, CSV export
|