Live Demo: financial-assistant-nine.vercel.app
FroshFunds is a web app for managing your personal finances. You can import bank statements via CSV, view spending dashboards with charts, and get AI-powered insights and suggestions to understand where your money goes and how to improve your habits.
- Framework: Next.js 14 (App Router)
- UI: ShadCN/UI + Tailwind CSS
- API: tRPC
- Database: Supabase (PostgreSQL + Auth)
- AI: OpenAI gpt-4o-mini
- Charts: Recharts
- Clone the repository and install dependencies:
npm install- Copy the environment file:
cp .env.example .env.local-
Fill in
.env.localwith your credentials:- NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY — Supabase Dashboard > Settings > API
- SUPABASE_SERVICE_ROLE_KEY — Supabase Dashboard > Settings > API (service_role key)
- OPENAI_API_KEY — platform.openai.com > API keys
-
Run migrations on Supabase (via CLI):
# Log in (opens browser) supabase login # Link to your project (use the project ref from the URL: https://<PROJECT_REF>.supabase.co) supabase link --project-ref <YOUR_PROJECT_REF> # Push migrations to create tables supabase db push
Or manually: Supabase Dashboard > SQL Editor > paste the contents of
supabase/migrations/20240307120000_initial_schema.sql> Run -
Ensure the email provider is enabled:
- Supabase Dashboard > Authentication > Providers > Email
npm run devOpen http://localhost:3000.
- Connect the repository to Vercel
- Configure environment variables
- Deploy
Date,Description,Amount
2024-01-15,iFood,-45.90
2024-01-14,Salary,5000.00
MIT