
AnuVarnika Sarees
Edge Full-Stack E-Commerce Storefront, UPI Operations & Admin Command Hub
Monorepo edge-native e-commerce storefront and full-width Admin Command Hub built on Cloudflare Pages, Hono on Cloudflare Workers, Cloudflare D1 (23 SQLite tables via Drizzle ORM), and Cloudflare R2—featuring deadlock-safe 15-minute stock holds, direct UPI QR + UTR verification, Telegram owner deep-links, Gmail OAuth2 emails, and Delhivery tracking.
Key Engineering Highlights
- Architected a 4-package monorepo (apps/web, apps/api, packages/shared, packages/db) with 23 Drizzle ORM SQLite tables on Cloudflare D1, Cloudflare R2 asset CDN, and integer paise monetary precision.
- Engineered a deadlock-safe atomic stock engine with 15-minute reservation holds, HTTP 409 conflict rollback, inventory_transactions auditing, and duplicate-UTR prevention.
- Implemented dual-mode session auth (HttpOnly cookie + Bearer token), 6-digit SHA-256 OTP verification, and an admin-only live Theme Studio injecting CSS design tokens onto :root.
- Built direct NPCI UPI QR + 12-digit UTR checkout, instant Telegram Bot owner approval deep-links, Gmail REST API (OAuth2) transactional emails, and 1-tap Delhivery AWB tracking URLs.
- Optimized performance with SWR cachedFetchJson request deduplication, edge Cache-Control (s-maxage + stale-while-revalidate), Vite vendor chunking, and 12/12 automated API E2E tests.
