Skip to content

v0.1.0 — Initial release

Choose a tag to compare

@aloewright aloewright released this 28 May 09:01

A reference SaaS on Cloudflare Workers: React + Mantine + MDX, Hono, D1 + Drizzle, Polar billing — with one-click deploy, GitHub Actions auto-deploy, and Dependabot.

Try it

Highlights

  • Single Worker serves the SPA + Hono API + D1 from one origin
  • Polar billing end-to-end: /api/checkout → hosted Polar page → /api/checkout/success → cookie + 302; webhook upserts subscription rows in D1
  • Stub-gated /dashboard with a no-payment Enter demo button so visitors can poke around without buying
  • Custom geometric-mark logo + Nunito typography + dark-mode toggle on both sites
  • Separate React + Mantine + MDX docs site at template-docs.lazee.workers.dev (7 pages: Intro / Architecture / Billing / Protected routes / Database / Deploy / Customizing)
  • One-click Deploy-to-Cloudflare badge — auto-provisions a D1 database on first deploy
  • GitHub Actions redeploy each Worker on push to main with path filters
  • Dependabot weekly (npm + actions); minor+patch grouped, majors as individual PRs

Stack

TypeScript 6, React 19, Vite 8 (Rolldown / Oxc), Mantine 9, Tailwind 4, TanStack Router/Query, Hono, Drizzle, Better Auth (scaffolded), Polar SDK, Wrangler 4, Biome 2.4.

Out of scope (documented swap-in points)

Better Auth wiring, password reset, multi-tier billing, teams, R2. The webhook handler is the production source of truth for subscription state; the cookie is the demo UX stub.

Full changelog

See CHANGELOG.md.