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>
307 B
307 B
Data model
SQLite via better-sqlite3, schema created on boot in backend/src/db/index.ts.
- employees - the whitelist of employee emails, with a soft-delete active flag
- attendance_events - append-only clock-in/out/break log and the derived state machine