modcomms/backend
michael c07c66a583 Connect frontend to PostgreSQL database via API
- Replace all localStorage-based state management with API calls
- Load campaigns, proofs, and audit items from database
- Persist proof analysis results to database via WebSocket
- Add dropdown options CRUD API endpoints (channels, sub-channels, proof types)
- Create DropdownRepository for managing dropdown options
- Update Analytics component to fetch data from API
- Remove demo data and localStorage persistence code

Frontend changes:
- App.tsx: Initialize apiService with MSAL, use API for all CRUD operations
- apiService.ts: Add dropdown options API methods
- Analytics.tsx: Fetch stats from /api/analytics

Backend changes:
- New dropdown_repository.py for dropdown CRUD
- routes.py: Add 7 dropdown endpoints

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 13:50:37 -06:00
..
alembic permissions changes 2025-12-18 16:51:27 +00:00
app Connect frontend to PostgreSQL database via API 2025-12-18 13:50:37 -06:00
.env.example permissions changes 2025-12-18 16:51:27 +00:00
alembic.ini permissions changes 2025-12-18 16:51:27 +00:00
Dockerfile permissions changes 2025-12-18 16:51:27 +00:00
requirements.txt permissions changes 2025-12-18 16:51:27 +00:00