Use the workspace filter from the repo root:
pnpm --filter @zship/web-nextjs dev
pnpm --filter @zship/web-nextjs check
pnpm --filter @zship/web-nextjs build:worker
The dev server runs on port 4331.
Local backend fallback
Production uses Cloudflare Service Bindings. Local development can use fallback URLs from the Worker environment:
AUTH_SERVICE_URLPAY_SERVICE_URLSUPPORT_SERVICE_URLBLOG_SERVICE_URLCHECKIN_SERVICE_URLAI_SERVICE_URLCDN_SERVICE_URLSITE_SERVICE_URLPROMPT_SERVICE_URLPROVIDER1_SERVICE_URLENTERPRISE_BILLING_SERVICE_URLZSHIP_KEY
When a Service Binding is unavailable, the proxy layer calls the fallback URL and attaches x-zship-key only for the HTTP fallback path.
For local end-to-end debugging, start the backend workers with the same wrangler version as this app — a mismatched local dev registry can leave bindings unresolved (the binding stub then returns a JSON 503 instead of falling back to HTTP).
First smoke path
- Open
/and confirm the manifest brand renders. - Open
/pricingand confirm plan data loads from the payment service. - Register or sign in through
/loginor/auth/register. - Open
/dashboardand confirm the session-gated overview renders. - Open
/changelogand/roadmapand confirm local content renders. - Open
/sitemap.xml,/robots.txt, and/llms.txtand confirm public URLs are listed.