Dev
CAT stack (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 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
[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
VSCode
Automatically attach debugger to node processes (2023-10-30)
This is a useful setting where if you run a node process from VSCode, the debugger is automatically attached, so you don’t need to remember to hit the debug button.
"debug.javascript.autoAttachFilter": "always",
Back