Larvontis
SYSTEMS / COMMERCE / CASE STUDY 01
Production Status: Live & Transacting · v2.4

Engineering an independent luxury digital flagship.

Maison Éloraine de Lys required a digital storefront matching the quiet-luxury craftsmanship of their menswear collections. We architected a headless e-commerce engine eliminating Shopify plugin subscription fees, slashing mobile latency to 340ms, and unifying direct UPI and COD order flows.

Project Parameters
Client: Maison Éloraine de Lys
Timeline: 3-Week Sprint to Production
Stack: Next.js 16 · Turso LibSQL · Drizzle
Ownership: 100% Repository Transfer
340ms
P95 Global Page Load (sub-second transition)
74%
Reduction in mobile bundle payload vs legacy Shopify
₹0/mo
Ongoing third-party app taxes & plugin fees
18ms
Edge database query latency via Turso LibSQL
01 / THE PROBLEM

The hidden friction of template-driven commerce.

Third-party apps for currency conversion, instant cart drawers, and address lookups bloated the client's previous storefront with redundant scripts. Database cold starts resulted in 2.4s TTFB on mobile devices, leading to cart drop-offs during flash drops.

Storefront Payload & Request BreakdownMobile Benchmark
Legacy Shopify + App Stack
• 38 HTTP requests (scripts, widgets)
• Mobile Payload: 2.8 MB
• TTFB: 2,400ms (cold start)
• Performance Score: 42 / 100
Monthly App Tax: $240/month
Larvontis Edge Engine
• 4 atomic HTTP requests
• Mobile Payload: 728 KB (-74%)
• TTFB: 340ms P95
• Performance Score: 99 / 100
Monthly App Tax: $0/month
02 / THE ARCHITECTURE

Bespoke schema design with edge LibSQL execution.

We decoupled the storefront using Next.js App Router and Turso LibSQL edge replicas. Products, inventory, and order sessions are managed via Drizzle ORM with atomic schema migrations, ensuring instantaneous availability and zero cold starts.

Partial PrerenderingDrizzle ORMHMAC Cookie AuthTurso Edge Replicas
schema.ts · atomic catalog & allocation lock
18ms Edge Latency
// 1. Drizzle Schema: Atomic Catalog & Allocation Lock
export const catalog = sqliteTable("atelier_catalog", {
  id: text("id").primaryKey(),
  sku: text("sku").notNull().unique(),
  title: text("title").notNull(),
  priceEur: integer("price_eur").notNull(),
  inventoryDrop: integer("drop_batch").notNull(),
  allocationState: text("state").default("READY"),
});

// 2. Sub-20ms Edge Catalog Query via Turso LibSQL
export async function getLiveAtelierDrop() {
  return await db.query.catalog.findMany({
    where: eq(catalog.allocationState, "READY"),
    orderBy: [asc(catalog.sku)],
  });
} // → 11.4ms (edge-fra1) · 0ms Cold Start
03 / OPERATIONS & FULFILLMENT

Automated logistics webhooks & friction-free checkout.

Engineered a native 1-tap cart drawer supporting both Cash-on-Delivery and Direct UPI payments with pin-drop address validation. Order confirmations trigger asynchronous webhooks directly into Shiprocket and iThink Logistics, generating shipping labels in real time.

Éloraine de LysAtelier Bag (1) · €1,450
Autumn Collection

Pleated Trousers in Virgin Sand Linen

Italian Loom · Pin-Drop Address Verified
FR 36FR 38FR 40
1-Tap DrawerReady
Subtotal: €1,450
Auto-Shiprocket Webhook Assigned
Instant Apple Pay / UPI →

Ready to engineer a high-throughput platform for your business?

Fixed-scope 2–4 week sprints with 100% code ownership.