Skip to content
Back to all projects
E-Commerce / Edge Full-StackProduction Architecture · 12/12 API E2E Passing· Frontend Developer — React.js & Next.js · Freelance· ~2 min read

AnuVarnika Sarees

Edge Full-Stack E-Commerce Storefront, UPI Operations & Admin Command Hub

React 18TypeScriptTailwind CSSFramer MotionZustandRechartsHonoCloudflare WorkersCloudflare PagesCloudflare D1Cloudflare R2Drizzle ORMZodGmail REST APITelegram Bot API
AnuVarnika Sarees screenshot 1 of 7
1 / 7

Overview

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.

Role & Scope

Led architecture, implementation, and delivery as Frontend Developer | React.js & Next.js. Status: Production Architecture · 12/12 API E2E Passing.

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.

Tech Stack

Built with React 18, TypeScript, Tailwind CSS, Framer Motion, Zustand, Recharts, Hono, Cloudflare Workers, Cloudflare Pages, Cloudflare D1, Cloudflare R2, Drizzle ORM, Zod, Gmail REST API, Telegram Bot API.