MyMidas/backend/app/api/v1
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
..
__init__.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
accounts.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
admin.py Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00
auth.py Fix audit findings: budget editing, dead code, logging, multi-currency 2026-04-23 10:54:32 +00:00
budgets.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
categories.py Add category management UI and service layer 2026-04-23 11:50:28 +00:00
investments.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
predictions.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
reports.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
settings.py Add AI receipt scanning with OCR pipeline and debug toggle 2026-04-22 22:07:38 +00:00
subscriptions.py Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
tax.py Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
transactions.py Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
users.py Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00