Cloudflare Workers starter

Launch a fast website with server-side APIs, payments, and activity tracking.

This version serves the frontend from real static files in the public folder. The Worker now handles API routes, Stripe endpoints, and webhooks only.

Ready.

Static frontend

Your homepage is now public/index.html, not generated inside src/index.js.

Worker API

The Worker still powers /api/health, /api/track, checkout, and Stripe webhooks.

Ready for data

Use the included D1 migration when you are ready to store user events and completed orders.