GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shiro1307/FinMate_project: AI powered financial tracker and assistant

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.cursor
.cursor
 
 
.kiro/specs
.kiro/specs
 
 
.vscode
.vscode
 
 
backend
backend
 
 
frontend
frontend
 
 
.gitignore
.gitignore
 
 
GETTING_STARTED.md
GETTING_STARTED.md
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
finmate.db
finmate.db
 
 
restart_backend.bat
restart_backend.bat
 
 
runtime.txt
runtime.txt
 
 
test.db
test.db
 
 
test_cors.html
test_cors.html
 
 
test_goals_debug.html
test_goals_debug.html
 
 
test_transactions.csv
test_transactions.csv
 
 

Repository files navigation

FinMate - AI-Powered Financial Companion

Your intelligent personal finance manager powered by Google Gemini AI.

šŸŽÆ Overview

FinMate is a full-stack web application that transforms how users manage their personal finances. Combining intelligent transaction tracking, AI-powered financial insights, and gamified engagement, FinMate empowers users to make smarter financial decisions and achieve their money goals.

Core Features:

  • Smart Transaction Tracking - Track spending through multiple sources: manual entry, bulk CSV import, or receipt scanning with OCR. Automatic category suggestions learn from your patterns.

  • AI-Powered Insights - Powered by Google Gemini, the system detects unusual spending patterns, generates weekly spending digests via email, provides budget optimization recommendations, and analyzes 13-week spending trends with forecasts.

  • Smart Shopping Comparison - Compare product prices across 7 Indian e-commerce platforms (Amazon, Flipkart, Blinkit, BigBasket, JioMart, Snapdeal, IndiaMART) with AI-powered debate analysis explaining the best value option. Includes pricing, trust scores, and delivery times.

  • Financial Health Score - A composite metric combining savings rate, budget adherence, transaction frequency, and goal progress. Track your financial wellness in real-time.

  • AI Chat Advisor - Get personalized financial guidance by chatting with an AI advisor trained on your transaction history and spending patterns.

  • Email Notifications - Receive configurable alerts for budget overages, achievement unlocks, anomalies, and weekly spending digests.

  • Real-Time Analytics - Interactive dashboards with 13-week spending trends, category breakdowns, monthly comparisons, and health score progression.

šŸ—ļø Tech Stack

Backend: FastAPI + SQLAlchemy + Google Gemini API
Frontend: React 19 + TypeScript + Tailwind CSS
Database: SQLite (dev) / PostgreSQL (prod)
Deployment: Docker-ready, supports Heroku/Railway/Render

šŸ“¦ Quick Start

Backend

cd backend
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

# Create .env file and add:
# GEMINI_API_KEY=your_key_here
# DATABASE_URL=sqlite:///./finmate.db
# SMTP_SERVER, SMTP_USER, SMTP_PASSWORD (optional)

uvicorn main:app --reload --port 8000

Frontend

cd frontend
npm install
npm run dev
# Open http://localhost:5173

API docs available at: http://localhost:8000/docs

šŸ“š Key Features

Feature Status Details
User Auth āœ… JWT + bcrypt, email-based currency detection
Transactions āœ… Manual, CSV import, receipt scanning, auto-categorization
Budget Goals āœ… Create savings/debt goals with progress tracking
AI Insights āœ… Anomaly detection, weekly emails, budget optimization
Gamification āœ… XP system, 10+ achievements, streaks, leaderboards
Debate Purchase āœ… Price comparison (Amazon, Flipkart, Blinkit, etc.)
Chat Advisor āœ… AI-powered financial guidance
Health Score āœ… Real-time financial health metric

šŸ› ļø Development

Project Structure

FinMate/
ā”œā”€ā”€ backend/
│   ā”œā”€ā”€ main.py              # FastAPI routes
│   ā”œā”€ā”€ models.py            # SQLAlchemy models
│   ā”œā”€ā”€ schemas.py           # Pydantic schemas
│   ā”œā”€ā”€ ai_insights.py       # Gemini integration
│   ā”œā”€ā”€ gamification.py      # XP & achievements
│   ā”œā”€ā”€ debate.py            # Price comparison logic
│   ā”œā”€ā”€ email_service.py     # Email notifications
│   └── providers/           # Web scrapers
ā”œā”€ā”€ frontend/
│   ā”œā”€ā”€ src/
│   │   ā”œā”€ā”€ components/      # UI components
│   │   ā”œā”€ā”€ AuthContext.tsx  # Auth state
│   │   └── App.tsx          # Main router
│   └── package.json
└── README.md

Running Tests

# Backend
cd backend
pytest test_main.py -v

# Frontend
cd frontend
npm test

Linting

# Python
cd backend
black . && flake8 .

# TypeScript
cd frontend
npm run lint

šŸ“” API Endpoints (Key)

POST   /signup              # Create account
POST   /login               # Authenticate
POST   /transactions        # Add transaction
GET    /transactions        # List transactions
POST   /import-csv          # Bulk import
POST   /goals               # Create goal
GET    /analytics/enhanced  # Health score + trends
GET    /insights/anomalies  # Spending anomalies
GET    /stats               # XP & achievements
POST   /debate/run          # Price comparison
POST   /chat                # Chat with AI

Full API docs: http://localhost:8000/docs

šŸš€ Deployment

Docker

docker build -t finmate .
docker run -p 8000:8000 --env-file .env finmate

Frontend Build

cd frontend
npm run build
# Deploy dist/ folder to Vercel, Netlify, or any static host

Database Migration

Update DATABASE_URL to use PostgreSQL:

postgresql://user:password@localhost/finmate

šŸŽØ Features Showcase

Dashboard - Real-time transaction list, budget progress, health score
Insights Page - 13-week spending trends, category breakdown, anomalies
Debate Purchase - Compare prices with AI recommendations and product images
Achievements - Visual badges, XP counter, streak tracking, leaderboard
Chat Interface - Ask financial questions, get personalized advice

šŸ›‘ Common Issues

Backend won't start?

  • Verify venv is activated: source venv/bin/activate
  • Check dependencies: pip list
  • Install missing: pip install -r requirements.txt

CORS errors?

  • Set FRONTEND_URL in .env
  • Update allowed origins in main.py

Auth failures?

  • Verify GEMINI_API_KEY is set
  • Check password strength (8+ chars, uppercase, digit)

Database issues?

  • Delete test.db and restart for fresh migration

šŸ“„ License

MIT License - See LICENSE file for details


Version: 1.0 | Last Updated: March 14, 2026
Status: Production-Ready MVP

About

AI powered financial tracker and assistant

Topics

ai-assistantfinance-trackerfinancial-analysisfinancial-assistantocr-recognitionreciept-processing

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.