MyMidas/frontend/src
megaproxy 9897d03d91 Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide
- DEMO_MODE=true env flag: disables password changes and backup endpoints (403),
  exposes GET /demo/status for frontend detection
- Auto-seed on first startup: creates demo user (demo@mymidas.app / demo123)
  with 6 months of transactions, investments, budgets, subscriptions, and tax
  payslips; takes a pg_dump snapshot immediately after for hourly restore
- Hourly reset: resetter Alpine container with cron restores DB from snapshot
  and purges uploaded attachments every hour on the hour
- Frontend: amber demo banner on all pages, login page shows credentials,
  password change disabled with notice, backups section replaced with notice
- demo/ directory: self-contained docker-compose.yml (ports 4001/8091),
  .env.example, reset.sh, and step-by-step Portainer DEPLOY.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 22:08:24 +00:00
..
api Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00
components Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00
hooks Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00
pages Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00
store Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
utils fix: theme consistency — chart colours, axis readability, warning system 2026-04-23 12:58:06 +00:00
App.tsx Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
index.css fix: theme consistency — chart colours, axis readability, warning system 2026-04-23 12:58:06 +00:00
main.tsx Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00