AI SaaS Stack

Everything to ship an AI product with users and billing: frontend, database, auth, the model, and email.

What it is

The boring, proven shape of a modern AI SaaS. Each piece does one job and they wire together cleanly, so your time goes to the actual product, not plumbing.

How it fits together

Browser
  │  (forms, chat)

Astro app ── server routes ──► Claude API   (the AI feature, streamed)
  │                          └► Resend       (transactional email)

Supabase  (Postgres + Auth: users, sessions, data)

The pieces

  • Astro — the site and its server endpoints.
  • Supabase — database + auth (who the user is, what they saved).
  • Claude API — the intelligence.
  • Resend — confirmations, magic links, receipts.

When to use it

Almost any “AI app with accounts.” Start with a waitlist, add auth, drop in the AI feature.

Build it

Waitlist → Auth → AI Chatbot, in that order. Each is a workflow below.