How huy24isme/demo_capstone1 works
FraudGuard is a browser-based fraud-monitoring dashboard. Users enter through the login screen or open fraud monitoring, where the dashboard presents transaction risk and supports alert review, case investigation, rule management, project and report views, audit history, onboarding, and platform health. The sampled implementation uses in-memory seed data and client-side state; no backend service or persistent store is evidenced. Edges reflect the route, imports, props, and component calls shown in excerpts or the source index; unsampled capability details are represented without inferred integrations.
Main entry points: FraudGuardDashboard.tsx Dashboard Controller · fraud-monitoring/page.tsx Monitoring Route · RulesView.tsx Rule Management · login/page.tsx Login Route
Components 23
Entry and Access
- Login Screen
src/components/auth/LoginPage.tsx - Login Route
src/app/login/page.tsx - Monitoring Route
src/app/fraud-monitoring/page.tsx
Risk Dashboard
- Dashboard Controller
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Risk Overview and Alerts
src/components/fraudguard-dashboard/AlertsView.tsx - Risk Indicators
src/components/fraudguard-dashboard/RiskLevelBadge.tsx
Investigation
- Case Workspace
src/components/fraudguard-dashboard/CasesView.tsx - Case Review Drawer
src/components/fraudguard-dashboard/AlertCaseDrawer.tsx
Rules and Operations
- Rule Management
src/components/fraudguard-dashboard/RulesView.tsx - Rule Builder
src/components/fraudguard-dashboard/RuleBuilder.tsx - Rule Details
src/components/fraudguard-dashboard/RuleDetailDrawer.tsx - Rule Testing
src/components/fraudguard-dashboard/RuleTestingView.tsx - Projects
src/components/fraudguard-dashboard/ProjectsView.tsx - Reports
src/components/fraudguard-dashboard/ReportsView.tsx - Audit Trail
src/components/fraudguard-dashboard/AuditTrailView.tsx - Onboarding
src/components/fraudguard-dashboard/OnboardingView.tsx - Platform Health
src/components/fraudguard-dashboard/PlatformHealthView.tsx - Data Ingestion
src/components/fraudguard-dashboard/DataIngestionModal.tsx
Seed Data and Export
- Transaction Seed Data
src/data/fraudguard-transactions.ts - Rule Seed Data
src/data/fraudguard-rules.ts - Platform Health Data
src/data/fraudguard-platform.ts - CSV Export Helpers
src/lib/export-csv.ts
Other components
- User
Connections 24
- User → Login Route: opens
src/app/login/page.tsx - Login Route → Login Screen: renders
src/app/login/page.tsx - User → Monitoring Route: opens
src/app/fraud-monitoring/page.tsx - Monitoring Route → Dashboard Controller: renders
src/app/fraud-monitoring/page.tsx - Monitoring Route → Transaction Seed Data: passes data
src/app/fraud-monitoring/page.tsx - Monitoring Route → Rule Seed Data: passes data
src/app/fraud-monitoring/page.tsx - Dashboard Controller → Risk Overview and Alerts: renders
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Case Workspace: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Rule Management: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Rule Testing: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Projects: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Reports: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Audit Trail: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Onboarding: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Dashboard Controller → Platform Health: routes view
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Risk Overview and Alerts → Risk Indicators: uses badge
src/components/fraudguard-dashboard/AlertsView.tsx - Rule Management → Rule Builder: renders
src/components/fraudguard-dashboard/RulesView.tsx - Rule Management → Rule Details: renders
src/components/fraudguard-dashboard/RulesView.tsx - Platform Health → Platform Health Data: reads
src/components/fraudguard-dashboard/PlatformHealthView.tsx - Data Ingestion → CSV Export Helpers: downloads template
src/components/fraudguard-dashboard/DataIngestionModal.tsx - Dashboard Controller → Data Ingestion: opens modal
- Dashboard Controller → Case Review Drawer: opens drawer
src/components/fraudguard-dashboard/FraudGuardDashboard.tsx - Reports → CSV Export Helpers: exports report
- Rule Details → Transaction Seed Data: reads examples
src/components/fraudguard-dashboard/RuleDetailDrawer.tsx