Introduction
What TanStarter SES includes, how the modules fit together, and the shortest path from clone to production.
What this starter is
TanStarter SES is a production-oriented SaaS starter built on TanStack Start and Cloudflare Workers. It combines the public architecture and module boundaries documented by TanStarter with a first-class AWS SES mail adapter.
The project is intentionally explicit. Product routes call domain operations. Domain operations call stable provider contracts. Vendor SDKs and wire formats stay inside small adapters.
Page or API route
↓
Domain operation
↓
Stable provider contract
↓
Provider registry
↓
Vendor adapter
↓
Cloudflare binding or third-party APIWhat ships with it
- Better Auth registration, verification, password recovery, sessions, account changes, and administration.
- D1 persistence through Drizzle ORM and generated migrations.
- Private R2 file upload, download, listing, deletion, and account cleanup.
- KV-backed cache and local preview state.
- Stripe, Creem, and Waffo payment adapters with normalized webhook persistence.
- Resend, Cloudflare Email, and AWS SES transactional mail.
- Resend Contacts or Beehiiv newsletter operations.
- Discord and Feishu notifications.
- Workers AI and TanStack AI flows for text, chat, image, image editing, and speech.
- A resumable setup CLI, unit tests, Playwright acceptance, and Cloudflare deployment.
How to use the documentation
Start with Quick start, then read Configuration before enabling external providers. The Architecture and Add a provider guides explain the modular design you should preserve when extending the product.
Reference deployment
The product reference deployment is available at https://cloudflare-tanstarter.gokoding.com. The documentation is deployed from the same Worker and repository, with a dedicated custom domain.