Sanity-powered retail starter with a Wander brand storefront UI, product catalog schema, and seeded ecommerce sample data.
This starter now includes:
- A real retail content model (
product,category,brand,color,size,material) - A storefront UI modeled on Sanity's
ai-shopping-assistantstarter and re-skinned for Wander - Campaign orchestration schemas from the original PRD workstream
studio/- Sanity Studio with retail + campaign schemasapps/frontend/- Next.js Wander storefront (/,/products,/products/[slug])functions/- Function scaffold for publish-time campaign automationpackages/- Shared linting, tsconfig, and generated Sanity types
The project is configured to use the ai-shopping-assistant seed archive:
studio/seed/data.tar.gz
Import (or re-import) into your development dataset:
pnpm --filter studio exec sanity dataset import seed/data.tar.gz development --replacepnpm install
cp .env.example .env
pnpm run devThen open:
- Storefront:
http://localhost:3000 - Studio:
http://localhost:3333
Root .env:
SANITY_PROJECT_IDSANITY_DATASETSANITY_API_VERSIONSANITY_API_READ_TOKENSANITY_API_WRITE_TOKENSANITY_STUDIO_PROJECT_IDSANITY_STUDIO_DATASET
Frontend .env.local (generated by bootstrap):
NEXT_PUBLIC_SANITY_PROJECT_IDNEXT_PUBLIC_SANITY_DATASETNEXT_PUBLIC_SANITY_API_VERSION
pnpm run format:check
pnpm run lint
pnpm run typecheck
pnpm run test
pnpm run validate- The retail UI and data model are adapted from Sanity's
ai-shopping-assistantandstudio/seed. - Campaign schemas and functions scaffold are still present for orchestration use cases.