Deploy in 30 minutes. Scale to millions for $5/month. Auth, database, file uploads, and billing — all wired up and ready to go.
Production-ready features, configured and connected.
Runs on Cloudflare's global network. Sub-50ms response times from 300+ locations worldwide.
SQLite at the edge with Drizzle ORM. Migrations, type safety, and local dev — all pre-configured.
R2 object storage with presigned URLs. Upload, serve, and manage files with zero egress fees.
Polar integration with webhook handlers, subscription sync, and checkout — ready to accept payments.
From clone to production in three simple steps.
Clone the repo, run `npm install`, and copy `.dev.vars.example` to `.dev.vars`.
Add your Google OAuth credentials, Polar API keys, and Cloudflare account.
Run `npm run deploy` to push to Cloudflare Pages. Your SaaS is live.
Start free, scale as you grow. No hidden fees.
For hobby projects and prototypes
For production SaaS applications
Join hundreds of teams shipping faster with Astro SaaS.
"Launched my side project in a weekend. The auth, database, and billing were already wired up. Unreal."
"We switched from Next.js to Astro and our page speed scores went from 60 to 98. Customers notice."
"Hosting went from $80/month to $5. The edge performance is no joke — our global users love it."
Best-in-class tools, zero vendor lock-in.
Astro ships zero JavaScript by default, meaning your pages load instantly. For SaaS apps, you get the best of both worlds: static-like speed for marketing pages with full interactivity where you need it. Plus, edge rendering means sub-50ms response times globally.
We integrate with Polar.sh for subscription management. You can set up monthly or yearly plans, handle trials, and manage cancellations — all through their dashboard. Webhooks automatically sync subscription status to your users.
Absolutely. The starter uses Cloudflare D1 (SQLite at the edge), but you can swap it for PostgreSQL, MySQL, or any database that works with Drizzle ORM. The schema is entirely yours to modify.
Cloudflare Workers and D1 have generous free tiers. For a typical SaaS with 1,000 users, expect to pay around $5/month. Compare that to $50-100+ for equivalent VPS hosting — and you get global edge distribution.
Yes. The starter includes proper security (CSRF protection, secure sessions, role-based access), error handling, TypeScript throughout, and follows Cloudflare's best practices. It's what we use for our own products.