scaffold festival drink tracker (pnpm workspace, Fastify + SQLite, Preact tablet UI, admin)

This commit is contained in:
müde 2026-05-19 18:12:01 +02:00
parent cf33e6ea04
commit e0898bea22
34 changed files with 5446 additions and 0 deletions

19
TODO.md Normal file
View file

@ -0,0 +1,19 @@
# TODO
Longer-term items deferred from v1.
## Auth & access control
- Add short PIN per bar/tablet on first launch (currently no client auth).
- Harden `/admin` beyond a single shared password (per-user, audit log).
- Decide whether bartender identity should be tracked per transaction.
## Features
- Custom price entry (free-form numpad amount as a line item, and/or per-drink price override).
- Per-bar price overrides on top of the shared drink catalog (v1 is shared catalog + per-bar selection only).
- Crew identification (which crew member took the freebie) beyond a flat "by crew" flag.
- Backoffice: live transaction feed, per-drink charts, void/edit confirmed transactions.
- Offline-capable client with sync queue (v1 is online-only).
## Ops
- Backup strategy for the SQLite file (cron + copy off-box).
- Health check endpoint + simple status page on the tablet if server unreachable.