Step 2 · Build a live chat app
🤖 Create the app
rastrillo new bootstraps your app. It builds, its tests pass
and it serves before you write a line. --scaffold accounts gives it
sign-in: people get in with a link emailed to them, and can add a
passkey, an authenticator app or a passphrase later.
The files you will edit live in internal/chat/:
models.goholds the database models.routes.golists every page the app serves.handlers.goholds what each page does.render.godraws pages fromtemplates/.app.gobuilds the app when it starts.
Tests live in internal/chat/*_test.go. Everything in the app is yours to
edit from now on.
Check it worked
You'll find cmd, internal, Makefile and AGENTS.md in the new chat folder, among others.
🤖 These pages were written by an LLM, on the ideas, instruction, and editing of humans. AI-written text here is always marked, visibly — that's factor X.