feat(server): healthz, testable app, local dev script (P0-3)

This commit is contained in:
Benjamin Oezcan
2026-11-19 01:40:31 +01:00
parent 35348324d6
commit fa68ef620d
8 changed files with 1465 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
# Copy to server/.env and fill in. Never commit the real .env.
# Copy to server/.env (local dev: npm run dev). Never commit the real .env.
PORT=8080
JWT_SECRET=change-me-to-a-long-random-string
# comma-separated uids allowed to write /db/live (admin). Fill after you create your admin account.
# Long random string. Empty = random per start (fine locally; sessions end on restart).
JWT_SECRET=
# comma-separated uids allowed to write /db/live (admin). Replaced by seed accounts later (plan P2-1b).
ADMIN_UID=
DB_FILE=./data.sqlite