A Next.js application that serves as your personal finance AI assistant. This app not only tracks and categorizes expenses but also predicts future spending, flags potential risks, and auto-optimizes savings and investments.
- Smart Categorization: Automatically categorizes your transactions
- Visual Analytics: Interactive charts and graphs to visualize spending patterns
- Custom Categories: Create and manage custom expense categories
- Spending Forecasts: AI-powered predictions of future expenses
- Budget Recommendations: Personalized budget suggestions based on spending habits
- Cash Flow Projections: Visualize your future financial position
- Unusual Activity Alerts: Get notified of suspicious transactions
- Overspending Warnings: Receive alerts when approaching budget limits
- Subscription Monitoring: Track recurring payments and identify unused services
- Portfolio Analysis: AI-driven insights on your investment portfolio
- Auto-Investment Suggestions: Personalized investment recommendations
- Savings Optimization: Smart strategies to maximize your savings
- Navigate to the my-next-app directory:
cd my-next-app- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 with your browser to see the result.
my-next-app/
├── app/
│ ├── api/
│ │ ├── transactions/
│ │ │ └── route.ts # Transaction processing endpoints
│ │ ├── predictions/
│ │ │ └── route.ts # Financial prediction endpoints
│ │ └── investments/
│ │ └── route.ts # Investment optimization endpoints
│ ├── styles/ # Application styles
│ ├── components/ # Reusable UI components
│ ├── layout.tsx # Root layout component
│ └── page.tsx # Main dashboard interface
├── package.json # Dependencies and scripts
└── tsconfig.json # TypeScript configuration
- Connect your bank accounts or manually input transactions
- View automatically categorized expenses on your dashboard
- Analyze spending patterns with interactive visualizations
- Access the "Predictions" tab to view future spending forecasts
- Adjust parameters to see different financial scenarios
- Receive personalized recommendations to improve financial health
- Set up notification preferences for different risk types
- Review flagged transactions and spending alerts
- Take action on identified financial risks
- Connect investment accounts or manually input portfolio details
- View AI-generated analysis of your current investments
- Explore recommended portfolio adjustments and savings strategies
This application uses Ollama with advanced language models for financial analysis and predictions. Make sure you have Ollama installed and the appropriate model downloaded:
ollama pull llama3.2:1b- All financial data is encrypted and stored securely
- No sensitive information is shared with third parties
- Regular security audits and updates
- Frontend: Next.js 15, React 19, TypeScript
- Styling: Tailwind CSS 4
- Charts: Chart.js with react-chartjs-2
- Icons: React Icons
- Database: Prisma with SQLite
- Authentication: NextAuth.js
- AI: Ollama integration
- Dashboard: Main financial overview with charts and insights
- Expenses: Detailed expense tracking and categorization
- Investments: Portfolio analysis and optimization
- Savings: Goal tracking and savings strategies
- Risks: Risk assessment and alerts
- Predictions: AI-powered financial forecasting
The application features a professional green/blue/black color scheme with:
- Modern grid-based layouts
- Center-aligned headings
- Professional financial dashboard design
- Responsive design for all devices
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License.