Maéir Trinkets
A zero-platform-fee luxury storefront with an AI concierge wired into live inventory.
Role
Co-Founder & Systems Architect
Tech Stack
- Next.js 16 (App Router)
- React 19
- Supabase (PostgreSQL)
- Tailwind v4
- Vercel AI SDK + Gemini
- Cloudinary
- Framer Motion
The Problem
The business needed a premium e-commerce feel with localized shipping logic, but wanted to avoid the high recurring fees and rigid structures of platforms like Shopify.
The Architecture
Decoupled a mobile-first Next.js frontend from a normalized relational Supabase backend. Built a state-managed, merge-safe cart that pipes directly into a frictionless WhatsApp checkout, reducing drop-off. Pricing lives at the product level, stock is tracked per variant and per size, and district-aware logistics compute delivery charges for every district in Bangladesh.
- AI shopping concierge — a floating assistant built on the Vercel AI SDK and Gemini 2.5 Flash with live Supabase tool-calling: it answers real-time color, stock, and price questions from the actual inventory and can trigger the checkout flow directly from the conversation.
- Quota-resilient LLM orchestration — a fail-fast fallback chain (Flash → Flash-Lite), a server-side cooldown when quotas are exhausted, and hard per-message spend caps, so a free-tier 429 never becomes a customer-facing crash.
- Conversational WhatsApp checkout — the cart aggregates, formats, and hands the order to WhatsApp for confirmation and payment, removing multi-step checkout friction.
- Merge-safe persistent cart — a single cart contract shared across the storefront and admin previews, persisted to localStorage and reconciled across tabs so items are never lost.
- Spatial glassmorphism UI — a depth-layered hero and Framer Motion micro-interactions delivering the luxury feel the brand demanded, without sacrificing load performance.
The Impact
Zero platform fees, sub-second load times via Incremental Static Regeneration (ISR), and a custom admin command center — product/variant/size CRUD, an order pipeline with CSV export, review moderation, and inventory analytics — secured end-to-end with Row-Level Security (RLS).