How raj-priyanshu45/micro-1 works
Lumen Bank is a frontend-only React mobile banking demo. Users navigate from the dashboard to send, receive, bill-payment, or top-up flows; each confirmed operation updates shared balance and activity state, which the dashboard and transaction views display. Profile supports settings and demo reset, while activity can be filtered. State persists in localStorage; the README explicitly rules out backend, authentication, and real payments. Some page and shell implementations were not excerpted, so their internal links are limited to documented routing or omitted where call ownership is not visible.
Main entry points: App.jsx Route application · BankContext.jsx Bank state provider · Payments.jsx Payment hub · ReceiveMoney.jsx Receive request
Components 19
App navigation
- Route application
src/App.jsx - Screen shell
src/components/Shell.jsx - Screen header
src/components/ScreenHeader.jsx
Money movement
- Payment hub
src/pages/Payments.jsx - Send money
src/pages/SendMoney.jsx - Receive request
src/pages/ReceiveMoney.jsx - Demo QR
src/components/DemoQr.jsx - Bill payment
src/pages/PayBills.jsx - Add money
src/pages/AddMoney.jsx - Success display
src/components/SuccessState.jsx
Account activity
- Dashboard
src/pages/Home.jsx - Activity history
src/pages/Transactions.jsx - Transaction row
src/components/TransactionItem.jsx - Profile settings
src/pages/Profile.jsx
Demo state
- Bank state provider
src/context/BankContext.jsx - Browser local storage
- Demo account data
src/data/mock.js - Currency and date utilities
src/utils/format.js
Other components
- Banking demo user
Connections 33
- Banking demo user → Route application: opens demo
README.md - Route application → Bank state provider: provides state
src/App.jsx - Route application → Screen shell: renders routes
src/App.jsx - Route application → Dashboard: routes to
src/App.jsx - Route application → Payment hub: routes to
src/App.jsx - Route application → Activity history: routes to
src/App.jsx - Route application → Profile settings: routes to
src/App.jsx - Route application → Send money: routes to
src/App.jsx - Route application → Receive request: routes to
src/App.jsx - Route application → Bill payment: routes to
src/App.jsx - Route application → Add money: routes to
src/App.jsx - Receive request → Demo QR: renders QR
src/pages/ReceiveMoney.jsx - Receive request → Bank state provider: credits account
src/pages/ReceiveMoney.jsx - Add money → Bank state provider: credits account
src/pages/AddMoney.jsx - Add money → Success display: renders result
src/pages/AddMoney.jsx - Receive request → Success display: renders result
src/pages/ReceiveMoney.jsx - Profile settings → Bank state provider: updates settings
src/pages/Profile.jsx - Dashboard → Bank state provider: reads balance
src/pages/Home.jsx - Dashboard → Transaction row: renders activity
src/pages/Home.jsx - Transaction row → Currency and date utilities: formats values
src/components/TransactionItem.jsx - Bank state provider → Demo account data: loads defaults
src/context/BankContext.jsx - Bank state provider → Currency and date utilities: creates identifiers
src/context/BankContext.jsx - Bank state provider → Browser local storage: reads and writes
src/context/BankContext.jsx - Banking demo user → Send money: initiates transfer
- Send money → Bank state provider: debits account
- Banking demo user → Bill payment: pays bill
- Bill payment → Bank state provider: records debit
- Payment hub → Send money: offers transfer
- Payment hub → Receive request: offers request
- Payment hub → Bill payment: offers bills
- Payment hub → Add money: offers top-up
- Activity history → Bank state provider: reads activity
- Activity history → Transaction row: renders rows