How deringirish/federal_forensic_case_management_suite works
This is a FastAPI forensic case-management suite. Investigators and administrators sign in, work case dossiers and participants, register evidence and custody transfers, file lab reports, and review dashboard/analytics views or export records. The map separates web/API orchestration, identity, analytics, and persistence. README documents major capabilities whose route implementations were not fully excerpted; those are represented at the web subsystem level, with only evidenced relationships drawn.
Main entry points: web.py Web routes · db.py Database access and procedures · main.py FastAPI entry and API · auth.py Authentication and RBAC
Components 15
Web experience
- FastAPI entry and API
app/main.py - Web routes
app/web.py - Pages and partials
templates - Dashboard and search
app/web.py
Case operations
- Case dossiers
app/web.py - Evidence and custody
app/main.py - Lab reports
app/web.py - CSV exports
app/web.py
Identity and access
- Authentication and RBAC
app/auth.py
Analytics and persistence
- Forensic analytics
app/analytics.py - Database access and procedures
app/db.py - Relational schema and triggers
database/schema.sql
Other components
- Staff users
- Web browser
- MySQL
Connections 20
- Staff users → Web browser: uses
README.md - Web browser → FastAPI entry and API: requests
README.md - FastAPI entry and API → Web routes: registers routes
app/main.py - FastAPI entry and API → Authentication and RBAC: uses
app/main.py - FastAPI entry and API → Database access and procedures: queries
app/main.py - Web routes → Authentication and RBAC: authenticates users
app/web.py - Web routes → Database access and procedures: reads and writes
app/web.py - Web routes → Pages and partials: renders
README.md - Web routes → Case dossiers: serves dossier workflows
README.md - FastAPI entry and API → Evidence and custody: serves API workflows
app/main.py - Web routes → Lab reports: serves report workflows
README.md - Web routes → Dashboard and search: serves dashboard
README.md - Web routes → CSV exports: streams CSV
README.md - Web routes → Forensic analytics: requests metrics
app/web.py - Forensic analytics → Database access and procedures: queries records
app/analytics.py - Authentication and RBAC → Database access and procedures: resolves users
app/auth.py - Database access and procedures → MySQL: executes queries
app/db.py - Database access and procedures → Relational schema and triggers: bootstraps schema
README.md - FastAPI entry and API → Database access and procedures: calls custody procedure
app/main.py - Database access and procedures → MySQL: creates procedures and triggers
app/db.py