Static Site + Forms Stack
The cheapest real launch: a fast static site with a working contact or signup form that emails you each submission. No database, no servers to run, $0/month.
What it is
The smallest stack that’s still a real product surface. Pages are static HTML on a CDN; the only moving part is one server route that receives the form and sends two emails: a notification to you and a confirmation to them. Your inbox is the database.
It’s the on-ramp below the Internal Tool Stack: start here, and add a database the day you need to query submissions instead of read them.
How it fits together
Visitor
│ submits form
▼
Astro static page ──► /api/contact (one server route on Cloudflare)
│
├──► Resend → you: "New lead: name, email, message"
└──► Resend → them: "Got it, we'll reply within a day"
git push ──► GitHub Actions ──► build + checks ──► Cloudflare Pages (deploy)
The pieces
- Astro: the site itself, built to static HTML, plus one endpoint with
export const prerender = falsefor the form post. - Resend: sends both emails. Set
replyToto the visitor’s address on the notification, so hitting Reply in your inbox answers them directly. - Cloudflare Pages: free hosting, HTTPS, and your custom domain; the
@astrojs/cloudflareadapter runs the form route as a Worker.
What it costs
Nothing until you’re doing well: Cloudflare Pages’ free plan plus Resend’s free 3,000 emails a month covers a site getting a few hundred leads a month. You pay for the domain.
When to use it
- You need to look real and capture interest this week, before there’s a product.
- Service businesses (consulting, agencies, freelancers) where every lead is a human conversation anyway.
- Testing demand for an idea: one page, one form, count the replies.
When to move on
- You want to count, filter, or export submissions → add Supabase (see the Build a Waitlist Page workflow, which is this stack plus a table).
- People need to log in → you’ve become the Internal Tool or AI SaaS Stack.
- You’re getting form spam → add Cloudflare Turnstile to the form before reaching for anything heavier.
Build it
Build the page and form route, use Send Transactional Email for the two sends (verify your domain first, since it takes the longest), then Ship It to put it on your domain with push-to-deploy.