Skip to main content
Machine Learning + Full StackEngineered by Shah Meer

Spendly

Developed a predictive expense tracker powered by a custom ensemble forecasting model combining linear regression and exponential smoothing with zero heavy ML library bloat.

Spendly architecture and interface preview

> 80%

Forecast Accuracy

Validated on multi-month historical trends

Pure Python

Model Footprint

Zero scikit-learn / TensorFlow overhead

< 2 ms

Inference Latency

Instantaneous client-side chart projections

JWT HMAC-256

Authentication

Stateless, secure session token handling

The Problem Statement

Operational Constraints & Friction

Users struggle to predict upcoming expenses using traditional manual trackers, leading to reactive budgeting and unforeseen monthly deficits.

Engineered Solution

Architectural Execution

Developed a predictive expense tracker powered by a custom ensemble forecasting model combining linear regression and exponential smoothing with zero heavy ML library bloat.

Spendly — System Architecture

High-Level Topology & Data Flow

Over 80% Forecasting Accuracy with Zero ML Bloat
Ingestion Layer

Responsive Web Dashboard & Interactive Canvas Charts

Client requests, sensors & telemetry

Gateway / Proxy

FastAPI REST API Layer

Core Service Cluster
Pure Python Mathematical Engine
Linear Regression & Moving Average Module
JWT Security & Session Manager
⚡ Queue: Periodic Trend Aggregator
Data & State Tier
SQLite Relational Storage
Encrypted Credential Store

ACID Persistence & Read/Write separation

Technical Specifications & Internals

Internal Topology & Data Mechanics

Users record expenditures via a responsive frontend. FastAPI processes entries, calculates seasonal and linear trend weights using custom mathematics, and projects the subsequent month's spending ceiling.

Technologies Used
PythonFastAPIMachine LearningSQLiteJWTJavaScriptChart.js

Engineering Obstacles Overcome

Building robust mathematical forecasting models directly in pure Python without introducing heavy, memory-intensive external ML libraries onto low-cost cloud instances.

Key Capabilities & Implementations
  • Dynamic Expense Categorization & Tracking
  • Custom Ensemble Time-Series Prediction
  • Interactive Forecast Trajectory Charts
  • JWT Stateless Token Authentication
  • Lightweight Financial Analytics Dashboard

Planned Enhancements & Roadmap

+ Cloud Deployment & Auto-Sync+ Mobile App with Push Alerts+ Categorical Budget Recommendations

Project Delivery & Impact

Achieved over 80% forecasting accuracy across historical household financial test sets.