How neobank-organization/neobank works
NeoBank is a retail internet-banking frontend. Users enter through public authentication or protected routes, then use account, beneficiary, transfer, scheduling, statement, and loan workflows; branch administrators have a separate approval dashboard. The README also documents advisory AI capabilities and an integration/UAT harness. The graph reflects route wiring and sampled calls; several product branches are documented but their internal implementation and connections were not sampled, so those links are omitted.
Main entry points: AppRoutes.tsx Route dispatcher · AppLayout.tsx Banking shell · App.tsx Application wrapper · AddBeneficiaryForm.tsx Add beneficiary
Components 29
App and security
- Application wrapper
src/App.tsx - Route dispatcher
src/routes/AppRoutes.tsx - Login and signup
src/features/auth - Protected routes
src/routes/ProtectedRoute.tsx - Banking shell
src/components/layout/AppLayout.tsx - Session timeout
src/hooks/useSessionTimeout.ts - Auth service
src/services/authService.ts - API client
src/services/apiClient.ts
Retail banking
- Accounts dashboard
src/features/accounts/AccountsDashboard.tsx - Spend insights
src/features/accounts/spend-insights/SpendInsightsDashboard.tsx - Beneficiary management
src/features/beneficiaries - Add beneficiary
src/features/beneficiaries/AddBeneficiaryForm.tsx - IFSC lookup
src/features/beneficiaries/IFSCLookup.tsx - Fund transfers
src/features/fund-transfer - UPI and verification
src/features/transfer-security-upi - Scheduled transfers
src/features/scheduling-statements/ScheduledTransfersList.tsx - Statements
src/features/scheduling-statements/StatementsDashboard.tsx - Loan applications
src/features/loans/LoanApplicationForm.tsx - EMI calculator
src/features/loans/EMICalculator.tsx
AI and advisory
- Spend AI advisory
src/features/accounts/spend-insights - Transfer fraud advisory
src/features/fund-transfer/fraud-detection - KYC document check
src/features/beneficiaries/kyc-document-check - Loan eligibility advisory
src/features/loans/ai-loan-eligibility - Banking assistant
src/features/transfer-security-upi/banking-assistant
Admin and integration
- Branch approvals
src/features/branch-admin/BranchAdminDashboard.tsx - UAT scenarios
src/features/integration-uat/UATScenarioRunner.tsx - Shared integration state
src/features/integration-uat/GlobalStateProvider.tsx
Other components
- Bank customer
- Branch administrator
Connections 29
- Bank customer → Route dispatcher: opens banking
src/routes/AppRoutes.tsx - Branch administrator → Route dispatcher: opens admin
src/routes/AppRoutes.tsx - Application wrapper → Route dispatcher: renders routes
src/App.tsx - Application wrapper → Shared integration state: wraps state
src/App.tsx - Application wrapper → Protected routes: wraps security
- Route dispatcher → Login and signup: routes public access
src/routes/AppRoutes.tsx - Route dispatcher → Protected routes: protects pages
src/routes/AppRoutes.tsx - Route dispatcher → Banking shell: renders shell
src/routes/AppRoutes.tsx - Route dispatcher → Accounts dashboard: routes accounts
src/routes/AppRoutes.tsx - Route dispatcher → Spend insights: routes insights
src/routes/AppRoutes.tsx - Route dispatcher → Beneficiary management: routes beneficiaries
src/routes/AppRoutes.tsx - Route dispatcher → Add beneficiary: routes add form
src/routes/AppRoutes.tsx - Add beneficiary → IFSC lookup: renders lookup
src/features/beneficiaries/AddBeneficiaryForm.tsx - Route dispatcher → Fund transfers: routes transfers
src/routes/AppRoutes.tsx - Route dispatcher → Scheduled transfers: routes schedules
src/routes/AppRoutes.tsx - Route dispatcher → Statements: routes statements
src/routes/AppRoutes.tsx - Route dispatcher → Loan applications: routes loans
src/routes/AppRoutes.tsx - Route dispatcher → EMI calculator: routes calculator
src/routes/AppRoutes.tsx - Route dispatcher → Branch approvals: routes admin
src/routes/AppRoutes.tsx - Route dispatcher → UAT scenarios: routes UAT
src/routes/AppRoutes.tsx - Banking shell → Session timeout: starts timeout
src/components/layout/AppLayout.tsx - Banking shell → Auth service: calls logout
src/components/layout/AppLayout.tsx - Auth service → API client: sends auth requests
src/services/authService.ts - Spend insights → Spend AI advisory: provides advisory
- Fund transfers → Transfer fraud advisory: provides risk checks
- Add beneficiary → KYC document check: supports document checks
- Loan applications → Loan eligibility advisory: provides eligibility advice
- Banking shell → Banking assistant: offers assistant
- Fund transfers → UPI and verification: supports secured UPI