Every requirement in the developer brief, marked as an interactive demo, visual only, or not yet implemented — with where to find it and its production phase. The same content is in COVERAGE.md, WALKTHROUGH.md and PRODUCTION-READINESS.md in the repo.
Coverage checklist
131 of 131 requirements
Section
Requirement
Status
Where
Phase
1 · Overview
Three layers on one codebase: storefront, seller admin, master admin
Own brand as tenant #1; every feature tenant-aware (tenant_id on every row)Application-level scoping in the preview; database enforcement is a production item
Interactive demo
lib/types.ts · lib/api/core.ts (scoped, own)
MVP
1 · Overview
Currency, tax, language, timezone configurable per tenantTimezone, GST/VAT rate, invoice prefix and AED formatting work; currency is set by the platform; Hindi storefront is Phase 3 (visual only)
Home sections: hero, collections, occasion tiles, new arrivals, testimonials, InstagramTestimonials are illustrative; the Instagram grid is a static preview (feed API not connected)
Interactive demo
Home (banner slides, picture tiles, product rows, banners, reels) · Theme editor (drag to reorder)
MVP
3 · Storefront
Collection filters: size, occasion, colour, price, designer, available on my date
Interactive demo
/store/*/collections/all
MVP
3 · Storefront
Product page: gallery + video, size selector, availability calendar, price per duration, deposit, size chart, fit notes, similar styles, reviews with photosReviews are labelled illustrative samples
Interactive demo
/store/*/products/[slug]
MVP
3 · Storefront
Cart and checkout (multiple items, each with its own dates)
Static pages: How it works, FAQ, Care & damage, Terms, Contact, About (+ privacy, delivery)Generated from live settings; marked as drafts for legal review
Interactive demo
/store/*/pages/*
MVP
3 · Storefront
Blog / lookbook for SEOSample articles; the preview renders client-side (production SSR for SEO)
Interactive demo
/store/*/journal
MVP
3 · Storefront
Date-first browsing: event date + size on the homepage, only available items
Interactive demo
Home → ‘Renting for a date?’ (under the banner)
MVP
3 · Storefront
Search with typo tolerance, recently viewed, wishlist, notify me when available
WhatsApp assistance: availability and order-status bot, size helpRule-based simulated chat
Interactive demo
Floating WhatsApp button
Phase 2
4.1 · Dashboard
Today: dispatches, pickups, cleaning, overdue, new bookings, revenue today/month
Interactive demo
/admin/*
MVP
4.1 · Dashboard
Utilisation % and alerts (overdue, damaged, low availability on high-demand dates, payment failures)
Interactive demo
/admin/* · bell icon
MVP
4.2 · Catalogue
Product upload: title, description, designer, category, occasions, colour, fabric, care, size chart, images, videoVideo upload isn't built; reels from the reference site display
Interactive demo
/admin/*/products/new
MVP
4.2 · Catalogue
Images: bulk upload, auto-compress, drag to reorderCompressed to WebP in the browser
Interactive demo
Product editor → Photos
MVP
4.2 · Catalogue
Variants by size, each with physical units with ID/QR
Interactive demo
Product editor → Sizes & units · /admin/*/units
MVP
4.2 · Catalogue
Pricing per duration, deposit, retail value, sale priceSale price feeds the Phase 2 buy-it option (visual)
Interactive demo
Product editor → Pricing
MVP
4.2 · Catalogue
Per-product buffer and min/max overrides
Interactive demo
Product editor → Rental rules
MVP
4.2 · Catalogue
Bulk CSV import/export, duplicate, draft/published/archived, SEO fields
Interactive demo
/admin/*/products
MVP
4.2 · Catalogue
Collections: manual and rule-basedRule-based create works; manual collections are seeded but not editable in the UI
Interactive demo
/admin/*/collections
MVP
4.3 · Inventory
Unit lifecycle statuses with valid transitions
Interactive demo
Unit page → Change status
MVP
4.3 · Inventory
QR scanning from a phone to change status at dispatch and returnCamera scanning where the BarcodeDetector API exists; QR tags encode the Scan URL for any phone camera
Open the preview hub (/) and choose Customer storefront. The dark bar at the top is the demo control — it isn't part of the store.
On the home page, use ‘Renting for a date?’ under the banner: pick a date at least two days out and size M, then Show what's free. Only outfits with a free M unit for that date appear.
Open any outfit. The calendar greys out dates already booked in your size; pick a date and see the delivery, wear and pickup days, plus rent, refundable deposit and delivery shown separately.
Tip: Peach Embroidered Lehenga Set, size M, is fully booked around the 15th of next month (two units, two bookings) — size L is free, which shows availability is per size and per unit.
Add to bag, then Checkout. Use ‘sample customer 99999 00101’ for a profile with saved address and measurements; the code appears on screen instead of an SMS.
Your outfits are now held (timer top-right). Pay → Simulate success. The confirmation page shows the WhatsApp message that would be sent. Try Simulate failure once too: the hold is released immediately.
2. Run the booking as the seller
From the confirmation page, open ‘Open it in Seller admin’. The booking shows its blocked window (delivery, use, pickup + cleaning days) and the unit that was allocated.
Mark packed and Out for delivery — or go to Scan unit and tap the unit's code (the QR tag encodes the same URL, so a phone camera works).
Mark delivered: enter the customer's delivery OTP (shown in the dialog for the demo). Then Mark picked up.
Returns & deposits: inspect the return. Choose Damaged → Moderate, attach a sample photo, save. The unit is now ‘In repair’ and blocked for new bookings.
Settle the deposit: the deduction, refund and a numbered credit note are created and the customer gets the photos on WhatsApp (Simulated messages in the demo bar).
Cleaning & repair: move the job through to Mark ready. The unit becomes available and the storefront calendar opens those dates again.
The Guided journey button in the demo bar ticks these steps off as you go.
3. Explore the rest of seller admin
Today: dispatches and pickups due, overdue return (late fee accruing), cleaning queue, utilisation and alerts — including a damaged unit with a future booking that needs reassigning.
Calendar: every unit's bookings with buffers. Drag a future booking sideways to reschedule (refused if it would clash), drag it to another unit of the same size to reassign, click an empty day to block a unit.
Products: add a product with sizes and units in a couple of minutes, or import the sample CSV. Each unit gets a code and QR tag.
Settings → Booking rules: change the post-buffer or cut-off and watch the storefront calendar respond. Theme editor: recolour the store and reorder homepage sections with a live preview; Publish to go live.
Switch ‘View as’ in the top bar to Delivery to see role-based access.
4. Master admin and the second tenant
Master admin → Sellers lists every tenant. Open Indigo Groom Co. (fictional) and ‘Log in as seller’ — the session is labelled and audited.
Open Indigo Groom's storefront: different theme, sizes, buffers (2 cleaning days), 12 PM cut-off and a 30% advance payment mode — same code.
Sign in on Indigo Groom with 99999 00101: you get a separate customer account with its own history, because accounts are per store.
Onboarding creates a brand-new tenant you can open immediately. Suspending a seller takes its storefront offline; Plans → Dunning shows retries and auto-suspend.
Publish an announcement under Support & moderation and it appears at the top of every seller admin.
5. Things to know
Everything is saved in this browser (IndexedDB) and syncs across tabs — try the storefront and seller admin side by side. Reset demo data from the demo bar.
Payments, OTPs, WhatsApp/email/SMS, courier, KYC and domains are simulated; nothing is charged or sent.
Rent Desire's product names, prices, photos and reels come from rentdesire.com; everything else (sizes, units, customers, bookings, reviews, numbers) is sample data.
Production readiness
What the preview proves, and what production still needs. Demo separation between tenants is application-level only and does not establish production security.
Database and tenant isolation
PostgreSQL with tenant_id on every business table and row-level security policies keyed to a per-request tenant setting (SET app.tenant_id) — never only in application code.
A connection role without BYPASSRLS for the app; migrations and admin jobs run under separate roles.
Automated isolation tests against the real database: every endpoint called with tenant B's credentials must return nothing of tenant A's (port tests/isolation.test.ts).
Per-tenant data export and deletion jobs; storage paths prefixed by tenant.
Atomic booking protection
Bookings and holds as date ranges with an exclusion constraint: EXCLUDE USING gist (unit_id WITH =, daterange(blocked_start, blocked_end, '[]') WITH &&) for active rows.
Checkout holds in Redis (or a holds table with expiry) and the final commit inside one transaction that re-checks every unit (SELECT … FOR UPDATE) before inserting.
Idempotency keys on payment webhooks so retries never create duplicate bookings; a failed or expired payment releases holds.
Load test: concurrent checkouts for the last unit of a size — exactly one succeeds.
Access control and auth
Customers: phone OTP via MSG91 with rate limits and device binding; sessions scoped to one store.
Staff and platform team: email + password + 2FA (TOTP), role-based permissions enforced on the API (the preview gates screens client-side only).
Impersonation as a time-boxed, logged session with a visible banner and read-only default.
Audit log written server-side for every mutation; immutable storage.
Integrations to connect
Payments: Razorpay or Cashfree (UPI, cards, net banking, wallets, payment links, refunds, card/UPI deposit pre-auth), Route/split payments if commission is used; Stripe for international sellers.
WhatsApp Business API via Interakt, Gupshup or AiSensy with approved templates; Amazon SES/Resend for email; MSG91 for SMS/OTP.
Shiprocket or Delhivery for outstation shipments and return pickups; DigiLocker/Aadhaar KYC provider.
GA4, Meta Pixel + Conversions API; Meta/Google catalogue feeds on a schedule.
GST: confirm rate on rental of clothing, SAC codes and credit-note treatment of deposit deductions with a CA; invoice PDFs server-side.
Platform and infrastructure
Real HTTP API (Next.js route handlers or NestJS) documented with OpenAPI; the storefront, admin, POS and future app all use it.
Subdomain routing (middleware on host) and custom domains with automatic SSL (e.g. Vercel/Cloudflare for SaaS).
Object storage + CDN for images and video with resizing to WebP/AVIF; uploads virus-scanned.