Live Demo: https://finsage-ai.vercel.app/
FinSage AI is a comprehensive personal finance management application powered by AI that helps users track their income, expenses, investments, and loans. It provides personalized financial advice, spending analysis, and scenario planning to make informed financial decisions.
- Overview of financial health with key metrics
- Monthly income and expense distribution
- Investment allocation visualization
- Personalized AI-powered financial advice
- Track multiple income sources
- Monitor fixed and variable expenses
- Manage investments across various asset classes
- Keep track of different types of loans
- Get personalized financial advice based on your financial profile
- Analyze spending patterns and receive optimization suggestions
- Ask custom financial questions and receive AI-powered answers
- Simulate "what-if" scenarios for career changes, investment strategies, and major purchases
- Analyze past financial decisions to learn and improve future choices
- Detailed breakdown of income sources and expense categories
- Financial health indicators including savings rate and debt-to-income ratio
- Transaction history analysis
- Monthly spending trends
- Career change impact simulation
- Investment strategy comparison
- Major purchase affordability analysis
- Manage personal information
- Set financial preferences and goals
- Track your financial progress
- Frontend: React.js, Vite, Tailwind CSS, shadcn/ui components
- Backend: Firebase (Authentication, Firestore, Storage)
- AI Integration: Google Gemini AI (via Generative AI API)
- Charting: Chart.js, react-chartjs-2
- Routing: React Router
- Styling: Tailwind CSS with custom components
- Deployment: Vercel
fin_service/
├── src/
│ ├── components/ # UI components
│ │ ├── aiadvisor/ # AI advisor components
│ │ ├── analytics/ # Analytics page components
│ │ ├── auth/ # Authentication components
│ │ ├── common/ # Common UI elements
│ │ ├── dashboard/ # Dashboard components
│ │ ├── finances/ # Financial input components
│ │ ├── scenarios/ # Scenario planning components
│ │ └── ui/ # Core UI components
│ ├── context/ # React context providers
│ ├── firebase/ # Firebase configuration
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility libraries
│ ├── pages/ # Main application pages
│ ├── services/ # AI and other service integrations
│ └── utils/ # Utility functions
- Financial Health Analysis: Get an AI assessment of your current financial situation
- Spending Pattern Recognition: Identify areas where you might be overspending
- Custom Financial Q&A: Ask specific questions about your finances
- Scenario Simulation: See the potential outcomes of different financial decisions
- Investment Recommendations: Receive personalized investment advice based on your risk profile
- Expense Optimization: Find opportunities to reduce expenses and increase savings
- Node.js (v14 or later)
- npm or yarn
- Firebase account (for backend functionality)
- Google AI API key (for AI features)
-
Clone the repository
git clone https://github.com/yourusername/finsage-ai.git cd finsage-ai
-
Install dependencies
npm install
-
Create a
.env
file in the root directory with your Firebase and Google AI credentialsVITE_FIREBASE_API_KEY=your_firebase_api_key VITE_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain VITE_FIREBASE_PROJECT_ID=your_firebase_project_id VITE_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket VITE_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id VITE_FIREBASE_APP_ID=your_firebase_app_id VITE_GEMINI_API_KEY=your_gemini_api_key
-
Start the development server
npm run dev
The application is deployed on Vercel. For deployment:
- Connect your GitHub repository to Vercel
- Configure the environment variables in Vercel dashboard
- Deploy using the Vercel dashboard or CLI
- Create a new Firebase project in the Firebase Console
- Enable Authentication (Email/Password)
- Create a Firestore database
- Set up Firestore security rules
- Add your Firebase configuration to the
.env
file
This project is licensed under the MIT License - see the LICENSE file for details.