How santhoshjk159/nexus-bms works
This is a banking-portal demo, despite the README’s generic screenshot-replica description. Its main workflow is role-based sign-in into customer, employee, or admin workspaces, where users review accounts and perform banking or operational tasks backed by a local mock banking store. The graph preserves the major customer, staff, and administration areas visible in the route tree, plus banking rules and shared UI/data layers. Some route implementations were not sampled, so their internal links are omitted rather than inferred.
Main entry points: store.ts Banking state · customer.tsx Customer portal · routeTree.gen.ts Role routes · customer.loans.tsx Loans
Components 26
App Entry
- Router
src/router.tsx - Role routes
src/routeTree.gen.ts - Sign in
src/routes/login.tsx - App shell
src/components/layout/AppShell.tsx
Customer Banking
- Customer portal
src/routes/customer.tsx - Accounts and profile
src/routes/customer.accounts.tsx - Transfers and payees
src/routes/customer.transfers.tsx - Loans
src/routes/customer.loans.tsx - Cards
src/routes/customer.cards.tsx - Customer activity
src/routes/customer.dashboard.tsx
Staff Operations
- Employee portal
src/routes/employee.tsx - Employee services
src/routes/employee.accounts.tsx - Customer support
src/routes/employee.support.tsx
Administration
- Admin portal
src/routes/admin.tsx - Admin controls
src/routes/admin.ledger.tsx
Banking Core
- Session and access
src/lib/auth.ts - Banking state
src/services/store.ts - Banking rules
src/lib/banking.ts - Customer selector
src/hooks/use-customer.ts - Finance components
src/components/finance/ui.tsx - Data table
src/components/data/DataTable.tsx - Transaction drawer
src/components/finance/TxnDrawer.tsx - Finance charts
src/components/finance/charts.tsx - Banking domain types
src/types/index.ts - Formatting utilities
src/lib/format.ts
Other components
- Portal user
Connections 38
- Router → Role routes: loads route tree
src/router.tsx - Portal user → Sign in: signs in
- Sign in → Session and access: authenticates
- Role routes → Customer portal: routes to
src/routeTree.gen.ts - Role routes → Employee portal: routes to
src/routeTree.gen.ts - Role routes → Admin portal: routes to
src/routeTree.gen.ts - App shell → Session and access: reads session
src/components/layout/AppShell.tsx - App shell → Banking state: reads state
src/components/layout/AppShell.tsx - Customer portal → Customer activity: contains dashboard
- Customer portal → Accounts and profile: routes to
- Customer portal → Transfers and payees: routes to
- Customer portal → Loans: routes to
- Customer portal → Cards: routes to
- Employee portal → Employee services: routes to
- Employee portal → Customer support: routes to
- Admin portal → Admin controls: routes to
- Customer selector → Session and access: gets session
src/hooks/use-customer.ts - Customer selector → Banking state: selects records
src/hooks/use-customer.ts - Transfers and payees → Banking state: reads and updates
src/routes/customer.transfers.tsx - Loans → Banking state: reads and updates
src/routes/customer.loans.tsx - Cards → Banking state: reads and updates
src/routes/customer.cards.tsx - Employee services → Banking state: reads and updates
src/routes/employee.accounts.tsx - Customer support → Banking state: reads and updates
src/routes/employee.support.tsx - Admin controls → Banking state: reads and updates
src/routes/admin.ledger.tsx - Banking state → Banking rules: screens transfers
src/services/store.ts - Admin controls → Banking rules: uses ledger rules
src/routes/admin.ledger.tsx - Customer activity → Customer selector: selects customer data
src/routes/customer.dashboard.tsx - Customer activity → Transaction drawer: renders drawer
src/routes/customer.dashboard.tsx - Customer activity → Finance charts: renders charts
src/routes/customer.dashboard.tsx - Loans → Finance components: renders panels
src/routes/customer.loans.tsx - Loans → Data table: renders schedule
src/routes/customer.loans.tsx - Admin controls → Data table: renders ledger rows
src/routes/admin.ledger.tsx - Banking state → Session and access: reads session
src/services/store.ts - Banking state → Banking domain types: uses domain types
src/services/store.ts - Banking rules → Banking domain types: uses domain types
src/lib/banking.ts - Finance components → Formatting utilities: formats amounts
src/components/finance/ui.tsx - Data table → Finance components: renders empty state
src/components/data/DataTable.tsx - Finance charts → Formatting utilities: formats values
src/components/finance/charts.tsx