A comprehensive financial management application with AI-powered insights, simulations, and personalized recommendations.
| Login | Profile Selection |
|---|---|
![]() |
![]() |
| Dashboard | AI Actions |
|---|---|
![]() |
TL;DR: Clone, run one command, both services start at
http://localhost:8000(backend) + auto-selected frontend port.
chmod +x dev.sh && ./dev.shpowershell -ExecutionPolicy Bypass -File .\dev.ps1The scripts will:
- Check Python 3 + Node.js requirements
- Set up Python virtual environment & install backend deps
- Start backend on
http://localhost:8000 - Install frontend deps & find first available port (3000-3003)
- Start frontend with clear URL output
- Run smoke test to verify both services
After services start, quickly verify:
- Login Flow: Click "Continue with FaceID" then select a profile
- Navigation: Test Goals, AI Actions, Simulations tabs
- Deep Dive: Click any "Deep Dive Analysis" button
- Simulation: Start a simulation (Job Loss, Medical Crisis, etc.)
- Backend API: Visit
http://localhost:8000/health(should return{"status": "ok"})
- Framework: Next.js 14 with App Router
- Styling: Tailwind CSS
- Features: Responsive design, real-time financial data, AI-powered recommendations, interactive simulations
- Framework: FastAPI (Python 3.11)
- Database: PostgreSQL
- Features: RESTful API, AI/ML integration, financial calculations, data processing
- Financial Dashboard - Net worth tracking, asset/liability breakdown, financial health metrics
- AI-Powered Insights - Transaction analysis, personalized recommendations, savings opportunities
- Financial Simulations - Job loss, medical crisis, market crash, home purchase, emergency fund scenarios
- Market Data Integration - Real-time stock prices, market trends, portfolio tracking
- Node.js 18+ and npm
- Python 3.11+
# Clone the repository
git clone <repository-url>
cd FinAI
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend/python_engine
pip install -r requirements.txt
# Start development servers
# Frontend (in frontend/ directory)
npm run dev
# Backend (in backend/python_engine/ directory)
uvicorn main:app --reloadGET /health- Health checkGET /profiles- User profilesPOST /simulation/{scenarioType}- Financial simulationsGET /market-data/quotes- Market data
POST /ai/chat- AI chat interfaceGET /ai/actions- AI recommendationsPOST /ai/analyze- Transaction analysis
DATABASE_URL- PostgreSQL connectionOPENAI_API_KEY- OpenAI API accessANTHROPIC_API_KEY- Anthropic API accessFMP_API_KEY- Financial Modeling Prep API
NEXT_PUBLIC_API_URL- Backend API URLNEXT_PUBLIC_ENVIRONMENT- Environment
This project is licensed under the MIT License.


