Dev
CAP stack (Cloudflare - Astro - Planetscale)
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 stucture and format (no framework lock in, flexible page generation, etc)
- Cloudflare pagers/workers are serverless so no machines to provision
- Wrangler CLI for deployment is simple and easy to use
- 100k requests per day free tier, cheap if paid plan needed
[Astro]
- Static by default framework, with optional dynamic components
- Fast dev server and simple API’s
- Feels like you’re writing codegen
- Serverless database, nothing to maintain or manually scale
- MySQL, so no advanced SQL features, but you can reorder columns!
- Great monitoring and debugging tools
- 5GB free tier (with credit card for verification)
[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