PROJECT 14 • DAY 8 OF 90 • REACT 19 + FASTAPI

SMARTCART
INTELLIGENCE.

An India-first multi-retailer price monitoring and shopping intelligence platform spanning React 19, TypeScript 5.8, Tailwind v4, and FastAPI — complete with an explainable 5-factor 0–100 Deal Scorer, 95% confidence OLS price forecasting, and explicit feed provenance.

React 19TypeScript 5.8Tailwind v4FastAPI 0.115SQLAlchemy 2.0APScheduler
SmartCart Intelligence Preview
DEAL SCORING
5 Factors • 0–100
BUILD & TESTS
19/19 Pytest + tsc
11 Views
Full-Stack React 19 UI
5 Retailers
Amazon IN to Tata CLiQ
95% CI
OLS 7/14/30d Price Forecast
19 / 19
Pytest + Clean TypeScript Build
01 / Overview

OBJECTIVE BUYING INTELLIGENCE FOR INDIAN RETAILERS.

Retailers inflate MRPs to advertise fake discounts. SmartCart compares historical lows, delivery-inclusive checkout prices, and statistical forecasts across 5 Indian stores.

01

5-Retailer Comparison Matrix

Tracks Amazon India, Flipkart, Croma, Reliance Digital, and Tata CLiQ comparing base price, shipping fees, and stock status.

02

Explainable 0–100 Deal Scorer

Scores deals using Avg Proximity (35 pts), All-Time Low (25 pts), Store Spread (20 pts), MRP Depth (10 pts), and Freshness (10 pts).

03

OLS Price Forecast + 95% CI

Models 7-, 14-, and 30-day forward trajectories using linear regression with honest 95% confidence intervals.

04

APScheduler & Alert Rules

Runs background 30-minute checks evaluating TARGET_MET, PRICE_DROP, PERCENTAGE_DROP, and BACK_IN_STOCK triggers.

05

Strict Data Provenance

Explicitly stamps every quote LIVE, CACHED, HISTORICAL, SAMPLE, or UNAVAILABLE — never masquerading mocks as live scrapes.

06

Consumables & Budgets

Tracks monthly category spend caps plus restock countdown intervals alongside a PBKDF2-HMAC-SHA256 JWT auth layer.

02 / Architecture

HOW IT WORKS.

Vite/React 19 SPA talks over Axios/JWT to FastAPI routers backed by APScheduler, Provider Adapters, Deal Scorer, and Alembic SQLAlchemy.

STAGE 01

Store Adapters

5 India-first providers + provenance tags.

→
STAGE 02

APScheduler

30-min background price polling worker.

→
STAGE 03

Deal Scorer

Weighted 5-factor 0–100 buying verdict.

→
STAGE 04

OLS Forecast

7/14/30-day trend + 95% CI band.

→
STAGE 05

React 19 SPA

11 Tailwind v4 views & Recharts plots.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

5-FACTOR DEAL SCORER WEIGHTS & SECURITY.

Key modules, rules, safety checks, and automated test results documented in the repository.

Scoring Factor / Control Allocation / Algorithm Decision Impact
Historical Avg Proximity 35 Points Max Rewards genuine drops below 90-day mean
All-Time Low Proximity 25 Points Max Identifies record-low price windows
Competitor Spread + MRP + Fresh 20 + 10 + 10 = 40 Points Rewards cheapest cross-store verified quote
Auth & QA Verification PBKDF2-SHA256 (100k) + PyJWT 19 / 19 Pytest + tsc -b clean pass
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in SmartCart Intelligence.

FRONTEND STACK
React 19 • TypeScript 5.8 • Vite 8
STYLING & CHARTS
Tailwind CSS v4 • Recharts
BACKEND API
FastAPI 0.115 • Pydantic v2
ORM & SCHEDULER
SQLAlchemy 2.0 • Alembic • APScheduler
SECURITY
PBKDF2-HMAC-SHA256 • PyJWT
VERIFICATION
19/19 Pytest + tsc Build
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for SmartCart Intelligence.

Official Amazon PA-API 5.0 and Flipkart Affiliate credential vault.
Browser extension price-drop overlay when browsing product pages.
Festive sale (Big Billion Days / Great Indian Festival) seasonal baseline adjuster.
Credit-card bank offer net-checkout discount calculator.
Webhook Pushover / Telegram instant deal-met alerts.
Automated Playwright fallback worker for JS-rendered regional retailers.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.