Skip to content

About

πŸ‘— Full-stack AI e-commerce platform with Virtual Try-On. Multi-model AI (Gemini Vision + Qwen VL) with circuit breaker failover β€” 90% LLM cost reduction.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

22 Commits

Folders and files

Repository files navigation

πŸ›οΈ Saree Sansar

AI-Powered E-Commerce Platform with Virtual Try-On

Next.js Python TypeScript AWS


🎯 What Is Saree Sansar?

Saree Sansar is a full-stack AI-powered e-commerce platform for Indian ethnic wear, featuring a Virtual Try-On system that lets customers see how sarees look on them before buying β€” using multi-model AI inference (Gemini Vision + Qwen VL).

Stack: Next.js 15 frontend + Python/FastAPI backend + AWS infrastructure β€” one of the largest codebases in this portfolio (546K+ TS + 126K Python lines).


✨ Core Features

πŸ‘— AI Virtual Try-On

  • Upload your photo β†’ see the saree on you instantly
  • Multi-model AI pipeline: Gemini Vision + Qwen VL for photorealistic rendering
  • Circuit breaker failover β€” if primary model fails, secondary kicks in automatically
  • 90% LLM cost reduction vs. single-provider approach
  • Bilingual chatbot (Hindi + English) for styling advice

πŸ›’ E-Commerce Platform

  • Full product catalog with filters, search, and recommendations
  • Cart, wishlist, order management
  • Secure checkout with payment gateway integration
  • Order tracking and history

🧠 AI Recommendations

  • Personalized product recommendations based on body type, occasion, budget
  • Style matching with existing wardrobe
  • Trending styles feed

⚑ Production Infrastructure

  • AWS S3 + CloudFront CDN for image delivery
  • Redis caching for session and product data
  • Firebase for real-time notifications
  • CI/CD with GitHub Actions

πŸ› οΈ Tech Stack

Layer Technology
Frontend Next.js 15 (App Router), React 19, TypeScript
Styling Tailwind CSS, custom design system
Backend API Python, FastAPI (async)
AI/ML Gemini Vision API, Qwen VL, LangChain
Storage AWS S3, CloudFront CDN
Cache Redis
Realtime Firebase
Database PostgreSQL
Auth NextAuth.js / Clerk

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚         Next.js 15 Frontend            β”‚
β”‚   Catalog Β· Cart Β· Try-On UI Β· Chat    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                β”‚ API calls
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚   FastAPI Backend       β”‚
    β”‚   (Python, Async)       β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚   AI Try-On Engine     β”‚
    β”‚  Gemini Vision         β”‚  ← Primary model
    β”‚  Qwen VL               β”‚  ← Fallback (circuit breaker)
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚   AWS Infrastructure   β”‚
    β”‚  S3 Β· CloudFront Β· RDS β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

⚑ Quick Start

# Frontend
git clone https://github.com/Prince8085/saree-sansar.git
cd saree-sansar
pnpm install
pnpm dev

# Backend (in separate terminal)
cd backend
pip install -r requirements.txt
uvicorn main:app --reload

πŸ“Š Performance Highlights

Metric Result
LLM cost reduction 90% (multi-model vs single)
Try-On generation time < 5 seconds
Image delivery (CDN) < 100ms globally
Uptime 99.9% (circuit breaker)

πŸ‘¨πŸ’» Built By

Prince Khatik β€” Founder, Innovix Solutions
LinkedIn Β· Portfolio Β· GitHub

About

πŸ‘— Full-stack AI e-commerce platform with Virtual Try-On. Multi-model AI (Gemini Vision + Qwen VL) with circuit breaker failover β€” 90% LLM cost reduction.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages