TheDesiFood
- infrastructure
- ai
- security
- leadership
A global e-commerce platform, architected and built from zero.
Build a fast, reliable, globally-available commerce platform from nothing — and the engineering organization to run it — while keeping cost and complexity sane for a small team.
A founding-engineer start with no existing infrastructure; a worldwide audience with regional pricing and content; a tight budget that ruled out heavyweight cloud egress; and money-moving flows where correctness is non-negotiable.
A headless split: a Next.js storefront on Vercel's CDN, images on Cloudflare R2, and a Django API behind Nginx + Gunicorn on Linux. GEO-IP at the Cloudflare edge drives localization; PostgreSQL owns transactional integrity while MySQL serves read-heavy reference data.
Chose a managed frontend platform (less control, some lock-in) for global performance a small team could never operate by hand. Ran two relational engines (more ops surface) to match each workload to the right tool rather than forcing one database to do everything.
Cloudflare R2 over S3 to eliminate egress cost at image-CDN scale. PostgreSQL over MongoDB because a half-written order is unacceptable. Nginx in front of Gunicorn so slow clients never starve app workers.
30,000+ customers served and ₹8 Cr (~$1M) in annual revenue on infrastructure a 10-person team can operate, with a CI/CD pipeline and automated PR review keeping releases safe.
Headless boundaries are worth their coordination cost — frontend, data, and media scaling independently is what kept the platform calm under growth. Decide the data model's integrity guarantees first; everything else bends around them.