Detailed story
CodesCloth is a complete, full-stack fashion and lifestyle e-commerce platform designed for the Indian apparel market. The storefront delivers a modern shopping experience with a hero carousel, category collections (t-shirts, hoodies, caps, mugs), rich product detail pages with variant selection, size guides, image zoom, delivery-PIN lookup, debounced search with filters/sorting/pagination, and Indian currency formatting throughout. Beyond the storefront, the platform ships the machinery a real store needs to operate: guest carts that merge into accounts on login, wishlists with back-in-stock and price-drop alerts, promo codes (BOGO, tiered, auto-applied, first-order), loyalty points, referral and gift-card programs, COD and Razorpay payments with webhook signature verification and payment-verification retries, GST invoice PDFs, order tracking with courier timelines, self-service cancellation and RMA returns, WhatsApp/email order updates, and abandoned-bag recovery emails. A comprehensive admin dashboard provides product management with image galleries, CSV import/export, batch order processing with packing slips and thermal shipping labels, delivery-status updates, a campaign/newsletter studio with RFM customer segmentation, reviews moderation, an inbox with canned replies, order risk flags, TOTP 2FA, live revenue/order analytics with funnel and cohort views, and DB-driven homepage/announcement CMS. The app is deployed on Vercel with scheduled cron jobs, works PWA-style on mobile, and degrades gracefully to a seeded demo catalogue when no database is connected.