A modern, full-stack banking application built with Next.js 14, featuring real-time bank integration, fund transfers, and transaction tracking.
- Dashboard — Total balance overview with animated counters and doughnut chart
- My Banks — View all connected bank accounts as styled cards
- Transaction History — Paginated transaction table with category badges and status tracking
- Transfer Funds — Send money between accounts via Dwolla
- Connect Bank — Link new bank accounts using Plaid Link
- Authentication — Sign in/up with NextAuth.js credentials provider
- Responsive — Full mobile navigation with slide-out drawer
| Layer | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS |
| UI Components | Shadcn/ui + Radix UI |
| Database | PostgreSQL + Prisma ORM |
| Authentication | NextAuth.js |
| Bank Integration | Plaid API |
| Fund Transfers | Dwolla API |
| Charts | Chart.js + react-chartjs-2 |
| Forms | React Hook Form + Zod |
├── app/
│ ├── (auth)/ # Sign-in & sign-up pages
│ ├── (root)/ # Dashboard, My Banks, Transactions, Transfers, Connect Bank
│ ├── api/auth/ # NextAuth API route
│ ├── globals.css # Custom Tailwind utilities
│ └── layout.tsx # Root layout with fonts
├── components/ # 21 custom + 10 Shadcn/ui components
├── lib/
│ ├── actions/ # Server actions (user, bank, transaction, dwolla)
│ ├── db.ts # Prisma client singleton
│ ├── utils.ts # Utility functions
│ ├── plaid.ts # Plaid API client
│ └── dwolla.ts # Dwolla API client
├── prisma/schema.prisma # Database schema (User, Bank, Transaction, Transfer)
├── constants/ # Sidebar links, category styles
├── types/ # TypeScript type definitions
└── public/icons/ # SVG icons
- Node.js 18+
- PostgreSQL (local or cloud — Neon / Supabase work great)
- Plaid sandbox account — dashboard.plaid.com
- Dwolla sandbox account — dwolla.com
git clone https://github.com/jy7lsna/Horizon-Banking-App.git
cd Horizon-Banking-Appnpm installCreate a .env.local file:
DATABASE_URL="postgresql://postgres:YOUR_PASSWORD@localhost:5432/banking_app"
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-secret-key"
PLAID_CLIENT_ID="your_plaid_client_id"
PLAID_SECRET="your_plaid_secret"
PLAID_ENV="sandbox"
DWOLLA_KEY="your_dwolla_key"
DWOLLA_SECRET="your_dwolla_secret"
DWOLLA_ENV="sandbox"npx prisma db pushnpm run devOpen http://localhost:3000 in your browser.
| Model | Description |
|---|---|
| User | Account info, credentials, Dwolla customer ID |
| Bank | Connected bank accounts (Plaid access tokens, balances) |
| Transaction | Transaction records synced from Plaid |
| Transfer | Fund transfers between users via Dwolla |
This project is for educational purposes.