CAT Stack
[#tech]
Cloudflare + Astro + Turso
Features:
- Great developer experience (lightning fast dev server, hot reloading, etc)
- Great deployment experience (one command to generate JS assets, then just upload, etc)
- Great maintenance experience (no server to maintain, no database to maintain, etc)
- Flexible in code structure and format (no framework lock in, flexible page generation, etc)
- Cloudflare pagers/workers are serverless so no machines to provision or maintain
- Wrangler CLI for deployment to “Pages” is simple and easy to use
- 100k requests per day free tier, and still cheap if paid plan is needed
[Astro]
- Static by default framework, with optional dynamic components
- Fast dev server and simple API’s
[Turso]
- Serverless database, nothing to maintain or manually scale
- SQLite dialect and pairs well with DrizzleORM.
- Easy to dump/backup with a single command since the DB is basically a file.
- 9GB free tier
[Bonus: bun]
- Much faster and more reproducible installs than npm
- Useful info messages for missing peer dependencies or other issues
- Integrated typescript runner/watcher and test runner
Back