A professional budget tracking application built with React, TypeScript, Vite, and Supabase.
- Framework: React 19 + TypeScript + Vite
- UI Library: shadcn/ui + Tailwind CSS v4
- Database: Supabase (PostgreSQL)
- Styling: Professional "Bank-Grade" design with Slate/Blue palette
-
Install dependencies:
npm install
-
Configure Supabase:
- Create a
.envfile in the root directory - Add your Supabase credentials:
VITE_SUPABASE_URL=your_supabase_project_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
- Create a
-
Set up the database:
- Run the SQL schema from
schema.sqlin your Supabase SQL editor - This creates the
transactionstable with Row Level Security policies
- Run the SQL schema from
-
Start the development server:
npm run dev
src/pages/Dashboard.tsx- Main dashboard page with transaction displaysrc/lib/supabase.ts- Supabase client configurationsrc/components/ui/- shadcn/ui components (Button, Card, Table)src/lib/utils.ts- Utility functions (cn helper)
- View all transactions from Supabase
- Summary cards showing balance, income, and expenses
- Professional bank-grade UI design
- Responsive layout
- Type-safe with TypeScript