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>
471 B
471 B
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 -
/api/auth/*- Google sign-in, logout, current session - Attendance routes -
/api/attendance/*- the employee's own clock in/out and stats - Admin routes -
/api/admin/*- employee management, org/individual stats, CSV export