Full-Stack Software Engineering Β· AI Systems
FinMind AI
Next-Generation AI Financial Assistant & Predictive Analytics Ecosystem
FinMind is an AI-powered personal finance platform designed and developed to automate receipt processing, expense tracking, and financial insights using modern AI services. Built with a modular architecture to support future scaling like multi-currency support, voice logging, and investment tracking.

FinMind AI Dashboard β realβtime spending overview, budget tracking, and AI insights
Problem & Solution
Understanding the core value proposition of FinMind.
β The Problem
- ββ’ Manual expense tracking is time-consuming and error-prone.
- ββ’ Traditional personal finance apps lack contextual AI assistance.
- ββ’ Users only see historical data, without receiving proactive warnings about overspending.
β The Solution
- ββ’ AI automatically extracts and structures receipt data in seconds.
- ββ’ Users can query their transaction histories using natural language.
- ββ’ Time-series models forecast month-end spent values to help users avoid overspending.
My Role β Full-Stack Developer & AI Engineer
As the sole developer, I designed the database schemas, built the Next.js API routes, created the frontend interface with Recharts visualization graphs, and integrated the NVIDIA NIM APIs for OCR extraction and vector embeddings.
Key Responsibilities
π Project Statistics
Application Interface Showcase
Explore the core features of the PFM ecosystem through these interface mockups.
π· AI Receipt Scanner

Scan a receipt β AI extracts merchant, date, and line items in seconds
Extracts structured JSON records from receipt images in under 5 seconds using the meta/llama-3.2-11b-vision-instruct model via NVIDIA's NIM API. Automatically populates merchant names, transaction dates, and line-item details.
- ββ Real-time image scanning (< 5 seconds)
- ββ Direct JSON structuring from vision model
- ββ Automatic transactional categorization
π¬ AI Chat Assistant

Natural language query β ask about your spending habits and get instant answers
Allows users to query their transaction history using natural language, powered by MongoDB Atlas Vector Search. Users can ask questions like "How much did I spend at Walmart in total?" to get instant, contextual answers.
- ββ Contextual RAG querying
- ββ Pre-filtered user isolation querying
- ββ Natural language insights generation
π Analytics Dashboard

Visual spending trends and 3βmonth forecast powered by HoltβWinters smoothing
Visualizes spending trends, monthly totals, and future projections using Recharts area, line, and pie charts. Predicts monthly spending trends for the next 3 months using the Holt-Winters double exponential smoothing algorithm.
- ββ Interactive trend lines & spent velocity grids
- ββ Outlier flags using standard deviations & IQR fences
- ββ 3-month future spending projections
AI Features & Analytics
FinMind applies machine learning models and statistical forecasting algorithms to generate financial insights.
π Double Exponential Smoothing (Holt-Winters)
Predicts spending trends for the next 3 months by smoothing historical monthly totals and extracting level and trend indicators.
Parameters: Level Factor (Ξ±) = 0.40, Trend Factor (Ξ²) = 0.30
π Ordinary Least Squares (OLS) Regression
Fits a linear trend line on cumulative daily spending data rather than using simple averages. This accounts for early-month spending spikes and base subscription costs to predict month-end totals.
Application: Month-End spent velocity forecasting
π Z-Score Outlier Verification (Count β₯ 5)
Measures standard deviations from the category's average value, flagging transaction values exceeding a threshold of 2.0 as anomalies.
Application: Outlier expense anomaly alerts
π¦ Tukey's IQR Outlier Fences (Count < 5)
Standard deviation can be unreliable with limited data. In these cases, the system calculates Interquartile Range (IQR) fences to identify anomalies.
Application: Small-sample size fallback check
Architecture & Repository Map
Architectural flow diagrams detailing the application infrastructure, database schema, and API pipeline.
π§© Architecture Flow
π VS Code Workspace Explorer
βοΈ Deployment Stack
Continuous Deployment (CD) pipeline configured via GitHub to trigger automatic NextJS serverless builds on Vercel upon push.
β±οΈ Development Lifecycle Timeline
Challenges & Solutions
Engineering solutions implemented to address system limitations and integration challenges.
OCR Accuracy on Receipts
Replaced traditional OCR libraries with the meta/llama-3.2-11b-vision-instruct model via NVIDIA's NIM API to accurately parse receipt structures.
Vercel 4.5MB Payload Limit
Designed a canvas-based client-side image compressor that resizes images larger than 1.5MB down to 1200px before upload, keeping file sizes under 200KB.
Local ISP SRV Blocking
Switched from SRV-based connection strings to standard replica set URIs listing the database shard hostnames directly on port 27017, bypassing local router SRV blocks.
Mongoose Connection Hoisting
Bypassed ES6 import hoisting by using require('mongoose') to ensure that Node's DNS servers are set to Google/Cloudflare in-memory before Mongoose connects to MongoDB.
What I Learned
- ββ’ Building and optimizing Next.js serverless REST APIs.
- ββ’ Indexing and querying vector databases.
- ββ’ Working with NVIDIA NIM APIs.
- ββ’ Fine-tuning prompts for JSON structured output.
- ββ’ Designing data models and schemas in Mongoose.
- ββ’ Applying double exponential smoothing for time-series forecasting.
Future Improvements
- ββ’ Voice Logging: Integrating audio transcription models to allow voice-based expense logging.
- ββ’ Multi-Currency Support: Adding automated exchange rate conversions.
- ββ’ Investment Tracker: Adding portfolio integrations to manage assets.
- ββ’ Email Parsing: Connecting email inbox sync APIs to parse digital invoice attachments.
Measurable Project Impact
Key outcomes and metrics from the FinMind project.
β Automated Digitization
Eliminates manual expense logging by using Vision OCR to parse receipts in under 5 seconds.
β Predictive Insights
Forecasts month-end total spend and future spending trends to help users prevent overspending.
β Semantic Search Retrieval
Allows users to search their transaction history using natural language queries.
Case Study Key Takeaways
- ββ Engineered full-stack Next.js production architecture
- ββ Integrated AI OCR Llama-3.2-Vision receipt parsing
- ββ Configured isolated MongoDB Atlas Vector Search pipelines
- ββ Designed and optimized REST API structures & Mongoose schemas
- ββ Applied Holt-Winters & OLS predictive analytics algorithms
Lighthouse Metrics
FinMind Case Study β’ Built by Derin Girish D G
Powered by Next.js, MongoDB Atlas, and NVIDIA NIM