- server.js: order store with K484-XXXX codes, stand assignment, SSE status to customers, passcode-gated staff API, persists to .data/ - staff.html at /staff: order board with Mark ready / Collected / Cancel - index.html: drop BTCPay API key, invoices, QR, BTC price; orders now server-backed with live PREPARING -> READY updates and stand location - e2e-test.js rewritten for the order loop (14 checks, all passing) - README added; .gitignore covers server/.data
12 lines
390 B
Bash
12 lines
390 B
Bash
# KITCHEN 484 server config — copy to .env and edit.
|
|
# The server reads this file at startup (real env vars win).
|
|
|
|
# Port the server listens on
|
|
PORT=8787
|
|
|
|
# Passcode for the staff board (/staff). Staff features stay disabled
|
|
# until this is set. Generate one: openssl rand -hex 4
|
|
STAFF_PASSCODE=
|
|
|
|
# Optional: where orders.json lives (default: server/.data)
|
|
#DATA_DIR=/var/lib/kitchen484
|