How satviksh13/bankmanager works
Horizon is a fintech banking app whose main workflow is user authentication, linking a bank, retrieving account and transaction data, and presenting it in dashboards and bank/history views; users can also initiate transfers to other platform users. The app’s Next.js pages invoke server actions, which coordinate Appwrite persistence and Plaid/Dwolla integrations. The README documents major capabilities that the sampled code does not fully show. Some component and action relationships rely on SOURCE INDEX references rather than complete excerpts.
Main entry points: user.actions.ts User and bank actions · bank.actions.ts Account and bank data · page.tsx Financial overview · PaymentTransferForm.tsx Transfer form
Components 21
User experience
- Sign-in and sign-up
app/(auth)/sign-in/page.tsx - Authentication form
components/AuthForm.tsx - Financial overview
app/(root)/page.tsx - Balance and spending
components/TotalBalanceBox.tsx - Recent transactions
components/RecentTransactions.tsx - My banks
app/(root)/my-banks/page.tsx - Bank account card
components/BankCard.tsx - Transaction history
app/(root)/transaction-history/page.tsx - Transactions table
components/TransactionsTable.tsx - Transfer funds page
app/(root)/payment-transfer/page.tsx
Accounts and identity
- User and bank actions
lib/actions/user.actions.ts - Account and bank data
lib/actions/bank.actions.ts - Appwrite client
lib/appwrite.ts - Plaid client
lib/plaid.ts
Transactions and transfers
- Transfer form
components/PaymentTransferForm.tsx - Transaction records
lib/actions/transaction.actions.ts - Transfer processing
lib/actions/dwolla.actions.ts
External services
- Appwrite
- Plaid
- Dwolla
Other components
- Banking user
Connections 36
- Banking user → Sign-in and sign-up: starts session
- Sign-in and sign-up → Authentication form: renders
app/(auth)/sign-in/page.tsx - Authentication form → User and bank actions: signs in or up
components/AuthForm.tsx - Authentication form → User and bank actions: links bank
components/AuthForm.tsx - User and bank actions → Appwrite client: uses clients
lib/actions/user.actions.ts - Appwrite client → Appwrite: accesses
- User and bank actions → Plaid client: exchanges bank token
lib/actions/user.actions.ts - User and bank actions → Transfer processing: creates funding source
lib/actions/user.actions.ts - Plaid client → Plaid: connects banks
- Transfer processing → Dwolla: processes transfers
- Banking user → Financial overview: views finances
- Financial overview → User and bank actions: loads user
app/(root)/page.tsx - Financial overview → Account and bank data: loads accounts
app/(root)/page.tsx - Financial overview → Balance and spending: renders
app/(root)/page.tsx - Financial overview → Recent transactions: renders
app/(root)/page.tsx - Account and bank data → User and bank actions: gets bank records
lib/actions/bank.actions.ts - Account and bank data → Plaid client: fetches account data
lib/actions/bank.actions.ts - Account and bank data → Transaction records: loads transfer records
lib/actions/bank.actions.ts - Banking user → My banks: reviews linked banks
- My banks → User and bank actions: loads user
app/(root)/my-banks/page.tsx - My banks → Account and bank data: loads accounts
app/(root)/my-banks/page.tsx - My banks → Bank account card: renders
app/(root)/my-banks/page.tsx - Banking user → Transaction history: browses transactions
- Transaction history → User and bank actions: loads user
app/(root)/transaction-history/page.tsx - Transaction history → Account and bank data: loads account data
app/(root)/transaction-history/page.tsx - Transaction history → Transactions table: renders rows
app/(root)/transaction-history/page.tsx - Banking user → Transfer funds page: initiates transfer
- Transfer funds page → User and bank actions: loads user
app/(root)/payment-transfer/page.tsx - Transfer funds page → Account and bank data: loads banks
app/(root)/payment-transfer/page.tsx - Transfer funds page → Transfer form: renders
app/(root)/payment-transfer/page.tsx - Transfer form → User and bank actions: resolves banks
components/PaymentTransferForm.tsx - Transfer form → Transfer processing: creates transfer
components/PaymentTransferForm.tsx - Transfer form → Transaction records: records transfer
components/PaymentTransferForm.tsx - Transaction records → Appwrite client: stores records
lib/actions/transaction.actions.ts - Account and bank data → Plaid: retrieves transactions
- Transfer form → Dwolla: moves funds