A marketing site with a referral waitlist, built by Claude Code on Elements
A home page with pricing and FAQ, a blog, and a waitlist where referral links move people up the list live, plus an admin for posts, plans and CSV export.
How it's built
Launchkiln needed a waitlist where every referral reorders the line and each signup watches their own place move, a blog with cover images, and admin pages for posts, pricing and the FAQ. Each of those is a part of Elements, so the agent spent its 23 minutes on the launch site itself.
- Live waitlist positions. Signups are a LiveTable. Each referral reorders the line in the database, and only the signups whose place changed hear about it, so a status page shows its own position and referral count moving as friends join.
- A live signup count. A channel carries the total, so the home page and every status page show the list growing as people join.
- Server calls as function calls. Joining the waitlist is one
@rpccall that returns the referral link, and an email already on the list gets its existing link back. The admin saves posts, pricing plans and FAQ entries the same way, with the cover image sent along in the same call. - Covers and export. Blog covers are stored in the database and served at addresses browsers keep for a year, and the admin downloads the waitlist as a CSV.
- Data from SQL files. Migrations define the site, load three pricing plans and six FAQ entries everywhere, and seed the admin, four posts with drawn covers and 200 signups, about a third of them referred.
- Sessions and roles. Every admin page, server call and the export share one guard on the admin role.
Why Elements
Elements is the integrated stack for building apps with AI: a TypeScript project server, build system, app framework and deployment system, engineered from the ground up as one. Your editor, tools and one or many agents all connect to the same always-on project server, which runs type checking, program analysis, migrations and tests as the agent builds. Built-in guardrails keep the app structured correctly and secure as it grows from prototype to production.
Run it yourself
Paste this into a terminal. It installs Elements, creates your copy of this app and starts it.
curl -fsSL 'https://elements.dev/install?create=launchkiln&scaffold=demo-launchkiln' | sh