Mirror of domfelipe/fraudshield
Find a file
Felipe Domingues 989202648d feat: implement FraudShield MVP — backend API + frontend alerts
Backend (Python 3.12/FastAPI):
- 5 models: Transaction, DetectionRule, FraudAlert, AuditLog, RuleSnapshot
- Rule engine: 4 rule types (amount, location, time, pattern)
- 11 API routes: health, auth, transactions, alerts
- Sync ingestion pipeline with explanation generation
- JWT auth with 3 roles (analyst, admin, senior)
- Seed script with 5 default rules + 50 synthetic transactions

Frontend (React 19/TypeScript/Tailwind):
- Auth: login page, JWT token management, role-based routing
- Alerts: queue with filters, detail panel, decision workflow
- Layout: responsive sidebar, top bar, protected routes
- Full TypeScript, zero ts-ignore, Tailwind CSS

Build: Backend imports clean, Frontend tsc --noEmit passes,
vite build produces 296KB production bundle.
2026-05-12 16:54:03 -03:00
.opencode/command docs: establish FraudShield constitution v1.0.0 2026-05-11 20:47:00 -03:00
.specify spec: add fraud detection engine specification (001) 2026-05-12 10:47:44 -03:00
backend feat: implement FraudShield MVP — backend API + frontend alerts 2026-05-12 16:54:03 -03:00
frontend feat: implement FraudShield MVP — backend API + frontend alerts 2026-05-12 16:54:03 -03:00
specs/001-fraud-detection-engine tasks: generate 88 implementation tasks across 7 phases 2026-05-12 16:26:33 -03:00
.gitignore feat: implement FraudShield MVP — backend API + frontend alerts 2026-05-12 16:54:03 -03:00
AGENTS.md plan: add implementation plan for fraud detection engine 2026-05-12 14:58:21 -03:00
docker-compose.yml feat: implement FraudShield MVP — backend API + frontend alerts 2026-05-12 16:54:03 -03:00