Quickstart
Goal: run a theme locally without running the Shoppex backend locally.Recommended setup for external theme devs: run the theme on localhost, fetch real data from
https://api.shoppex.io.If your real goal is “use Claude Code or Codex to customize my theme”, start with Build and Customize a Theme with AI and come back here if you need a local theme running first.
If you already have a hosted Shoppex theme and want to pull it locally, edit it, and push it back, do not start here. Start with Hosted Theme Sync.
Step-By-Step
Options
- Public API (Recommended)
- MSW Mocks
- Local Backend (Advanced)
This is the easiest setup if you do not have the backend locally.What this does:
- Your theme runs on
http://localhost:<port> - Data comes from
https://api.shoppex.io
Next Steps
Build with AI
Beginner-friendly guide for using Claude Code or Codex to inspect, edit, preview, and publish theme changes.
Hosted Theme Sync
Pull a hosted theme locally, edit it in your own tools, and push validated draft changes back.
Local Development
Learn how slug resolution and
VITE_API_BASE_URL behave on localhost.Runtime & SDK
Initialize the SDK, fetch storefront data, and resolve shops by domain.
Editing Themes
The unified workflow for how Shoppex edits, validates, previews, and publishes themes.
AI Workflows
Advanced AI workflow patterns with CLI and MCP after the beginner path.