The Landing Page
You have an idea. Let's validate it.
Every great product starts with a landing page. With Cloudwerk, you're production-ready in minutes—not hours. Just create a route, connect your database, and deploy.
export default function Home() {return ( <main> <h1>Coming Soon</h1> <form action="/api/waitlist" method="POST"> <input name="email" type="email" required /> <button type="submit">Join Waitlist</button> </form> </main>);}import { db } from '@cloudwerk/bindings'
export async function POST(request: Request) {const { email } = await request.json()
await db.prepare(` INSERT INTO waitlist (email, created_at) VALUES (?, datetime('now'))`).bind(email).run()
return Response.json({ success: true })}