The Basin
A curated dropshipping storefront where the admin handpicks the catalog, Claude AI generates product copy and SEO metadata, customers check out via Stripe, and Resend automatically forwards orders to suppliers for fulfillment.
Context
Consumers have grown distrustful of generic marketplaces with thousands of uncurated products. They want stores that act as taste-makers — a tight, high-quality selection that someone has personally vetted and stands behind. That's the premise behind The Basin.
The platform is built on a zero-inventory model: the admin curates a product catalog linked to dropship suppliers, Claude AI handles product descriptions and SEO copy at scale, and when a customer pays, the system automatically routes the order to the correct supplier via email. No warehouse. No manual forwarding. The operator acts as curator; the software handles the rest.
What Was Built
Product Catalog & Admin Curation
Admin builds and manages a product catalog linked to dropship suppliers. Each product moves through a draft → published workflow with stock status tracking and margin visibility.
- Draft/published status with out-of-stock and discontinued states
- Retail price + wholesale cost fields; margin calculated and displayed automatically
- Category and multi-tag system for storefront filtering
- Slug auto-generation with uniqueness enforcement at the database layer
AI-Generated Product Copy
From the product edit form, admin triggers Claude AI to generate benefit-focused product descriptions and SEO metadata in a single request.
- Claude receives product name, category, and tags as context for generation
- Returns a 2–4 paragraph customer-facing description + meta title and meta description
- Character limits enforced: 60 chars for meta title, 160 for meta description
- Generated copy populates form fields directly; admin edits before saving
Storefront & Cart
Anonymous-first storefront with category and tag filtering. Cart persists in localStorage — no account required to browse or purchase.
- Product grid with category single-select and tag multi-select; filters reflected in URL
- Cart in localStorage: survives page refresh, supports quantity adjustment and removal
- Product detail pages render SEO meta title and description from catalog fields
- Out-of-stock products visible but Add to Cart disabled with status label
Stripe Checkout & Order Processing
Cart contents are validated server-side before a Stripe Checkout session is created. On successful payment, a webhook creates the order record and triggers fulfillment.
- Server validates prices against the database before creating the Stripe session
- checkout.session.completed webhook (mode: payment) creates order + order_items
- Product name and price snapshots captured on order items for immutable history
- Customer redirected to confirmation page; confirmation email sent via Resend
Supplier Fulfillment Engine
Orders are automatically grouped by supplier and forwarded via Resend. The admin order dashboard tracks status from pending through to delivered.
- Unique suppliers in each order each receive a Resend email with their line items and shipping address
- Order status machine: pending → processing → shipped → delivered → cancelled
- Admin can filter orders by status, search by order ID or customer email
- Tracking number and carrier stored on the order record when admin marks shipped
Technology Stack
Results & Impact
500+
SKUs Managed
3
Sales Channels
Real-Time
Inventory Sync
0→1
E-Commerce Launch