Add demo mode with hourly reset, example trips & demo banner

DEMO_MODE=true enables: auto-seeded admin + demo user, 3 example trips
(Tokyo, Barcelona, Wien), hourly reset of demo user data, one-click
demo login, visible banner with feature info. Zero behavior change
when DEMO_MODE is not set.
This commit is contained in:
Maurice
2026-03-19 13:25:37 +01:00
parent f8dcce802e
commit e8acbbd129
13 changed files with 558 additions and 5 deletions

5
demo/.env.example Normal file
View File

@@ -0,0 +1,5 @@
# Demo admin credentials (use strong password in production!)
DEMO_ADMIN_PASS=admin12345
# JWT secret (change this!)
JWT_SECRET=demo-secret-change-me-in-production