Polestark

A production-grade D2C e-commerce platform with an AI shopping assistant and a full admin ERP.

CategoryWeb
Timeline2026
ContextOwn brand · Solo build
StatusLive · polestark.com
Polestark storefront
29.5klines of TypeScript
32database models
41+53pages + API routes
5integrations wired end-to-end

The product

Polestark is a complete direct-to-consumer commerce stack for a 3D-printing brand: storefront, variant-matrix catalog, Razorpay payments with webhook verification, COD eligibility, Shiprocket logistics, transactional email — and a one-person admin ERP to run it all.

The standout is an AI shopping assistant with real tool-calling: a bounded Mistral loop that searches store policies, validates its own JSON output, hydrates product references against the database and logs every query with latency — tunable from an admin panel.

Under the hood

THE ENGINEERING

  • 01

    Normalized product-variant matrix (base → options → variants) — a real catalog model, not a toy CRUD

  • 02

    AI assistant with tool-calling, guardrails and per-query latency logging; admin-tunable model/temperature/limits

  • 03

    SEO as engineering: per-entity OG image generation, JSON-LD, merchant feeds for Google Shopping & Meta Commerce

  • 04

    Custom image pipeline: client-side WebP crops at 3 sizes behind a CDN loader with alt-text maps

  • 05

    Abandoned-cart cron, guest-cart sync on login, geolocation address autofill in quick checkout

Next case study

LeadStudio