Adnan Bin Pulok Adnan Bin Pulok
PutulKotha.com
Web Application Live

PutulKotha.com

Multi-website platform running on a single shared codebase. Built much of the core from scratch and solved the challenge of serving multiple sites from one codebase.

Case study

Problem

A saree brand needed a complete storefront (catalog, cart, guest checkout, orders, tracking) with the core built from scratch instead of adopted from an off-the-shelf platform.

Solution

Guest-first storefront on FastAPI with server-rendered Jinja templates and Tailwind. A PostgreSQL schema (22 tables) covers catalog, inventory ledger, checkouts, orders, coupons, tracking pixels, and admin-managed landing pages. Brand data, theme, and media live in config, so one deployment serves multiple sites from a single codebase.

Technical challenges

  • Writing the commerce core from scratch: cart, checkout, inventory ledger, orders, and status history
  • Running multiple websites off one codebase without config, theme, or asset collisions between brands
  • Keeping stock correct: deducting only on confirmed orders with atomic decrements so concurrent checkouts can't oversell
  • Letting guests order without an account while keeping account features as optional enrichment

Status

Live

Database tables

22

Backend modules

25

Cache layer

Redis

Tech stack

Python FastAPI PostgreSQL Redis Tailwind CSS