BudgetSphere
All in one Finance Assistance
The problem BudgetSphere solves
-
Untracked and Unplanned Spending
Problem: Many users struggle to understand where their money goes each month.
Solution: BudgetSphere’s Expense Tracker helps users log, categorize, and visualize expenses — making spending habits clear and actionable. -
Fragmented Financial Data
Problem: Income, expenses, and investments are often scattered across bank accounts, emails, statements, and apps.
Solution: BudgetSphere centralizes financial tracking in one clean interface — users can manually log or use AI-assisted extraction.
3. Manual Extraction from Emails & Statements
Problem: Financial details in emails or messages (e.g., salary credits, rent payments) are hard to process and record manually.
Solution: Gemini API integration allows users to paste such messages and get structured values auto-extracted into categories like income, rent, savings, etc.
4. Lack of Personalized Investment Advice
Problem: Users don't know how to allocate their savings across FDs, mutual funds, gold, or other investments based on their risk appetite.
Solution: The Smart Advisor module of BudgetSphere provides dynamic, AI-generated recommendations tailored to user savings and risk profile.
- Poor Visibility into Investment Portfolio
Problem: People often forget how much they invested and what it’s worth now.
Solution: BudgetSphere’s Portfolio Tracker lets users record investments, current values, and see how their assets are performing over time.




Challenges we ran into
- Data Storage & Persistence
Challenge:
Currently, data is stored in memory. When the server restarts, everything is lost.
Impact:
User data (expenses, investments, Gemini analysis) isn’t retained.
Solution:
Integration with PostgreSQL with proper schemas.
2.Gemini API Integration
Challenge:
a. Rate limiting (429 errors)
b. Latency for large prompts
c. Unexpected or inconsistent output structure
Impact:
Could disrupt UX or crash the app if not handled.
Solution:
Added robust error handling, retries, and response schema validation.
Validate the response format before using it.
3.Data Validation and Categorization
Challenge:
Users may input unstructured or incorrect data (typos, ambiguous terms).
Gemini may misclassify or skip fields.
Solution:
Added frontend validation (JavaScript)
Offers category suggestions, uses dropdowns for categories
- User Management (future)
Challenge:
when we implemented authentication we faced:
Handling sessions securely
Storing user data separately
Preventing cross-user access
Solution:
Use Flask-Login; store user IDs with each record.
5.Gamified UI Performance
Challenge:
Card UI, animations, or drag-drop might lag on mobile or low-end devices.
Solution:
Optimization with CSS transitions (not JS-heavy)
Avoided unnecessary DOM updates
- Parsing Complexity in Gemini
Challenge:
Emails may have varied formats (bank statements, invoices, chats, etc.)
Gemini may struggle with vague inputs or new formatting.
Solution:
Preprocess input to normalize formatting (e.g., remove headers/footers)
- Testing and Debugging
Challenge:
Gemini’s output is non-deterministic and difficult to test repeatedly.
Solution:
Log all input/output pairs for debugging
Used mock responses in test mode
8.Deployment and Hosting
Challenge:
Gemini API key security
CORS and CSRF issues
Server crashes due to unhandled input
Solution:
Use environment variables for API keys
Deployed via Render
Tracks Applied (1)
Best use of Gemini API
Major League Hacking
Technologies used

