The code was the smallest part. Everything else my web apps needed

I have built several websites and web apps with coding agents: Pohádka pro tebe (AI bedtime stories), Vozopis (car service history), Najdi ajťáka, Kam na advent, Cviky, Zahraj mi and more. Each one went through a security review, and the paid ones through a legal review too.

The code was the fastest part. An agent writes a login page in minutes. Then you find out you need a domain, e-mail that does not land in spam, protection against bots, terms of service, a privacy policy, a cap on AI spend and a place to run it all. And then you need to look at it all again, several times, through the eyes of a security person, a lawyer and a user.

This is the list of things I had to deal with. Having it at the start would have saved me a lot of surprises.

Above the waterline is the app code. Below it: domain, hosting, login, e-mails, choosing an LLM, legal, reviews, monitoring and a project overview.

1. Domain, DNS and e-mail

2. Where it all runs

Each project needed something different. This is where I ended up:

What Where Why
Static sites and landing pages GitHub Pages, Cloudflare Workers free, deploy on push to main
Small backend (a form, a proxy to AI) Cloudflare Worker free, no server, secret keys stay out of the browser
Next.js app with payments Vercel + Supabase login, database and hosting without my own server
Django apps with a database own VPS (Hetzner), Docker, Caddy full control, one server for several apps
Scheduled jobs and internal tools home server none of it needs to be public

GitHub Actions builds the Docker images and publishes them to GitHub Container Registry. The server just pulls the new version. Two things surprised me:

3. Login and abuse protection

As soon as an app has a form or a login, bots show up. I dealt with:

4. E-mail templates

Supabase sends six different e-mails just for login: magic link, sign-up confirmation, e-mail change, invite, account recovery and re-authentication. By default they are in English and unstyled. On top of that the app sends its own e-mails: purchase confirmation, withdrawal from the contract, notices for me.

They now all share one look and have both HTML and plain-text versions. I check previews with screenshots in tests, not by sending them to my inbox.

Left: the default Supabase login e-mail, in English, a Magic Link heading and one link. Right: the Czech Pohádka pro tebe template with a button, a fallback link and operator details.

5. When to use an LLM, and which one

Not everything that looks like AI needs a large language model.

My rule: try code first. Then the cheapest model. A strong model only where I can tell the difference blind.

6. The legal side

This surprised me the most. As soon as an app collects e-mails or takes money, you need:

Agents help me draft and check texts, but I am the only one who approves legal texts.

7. Reviews: security, performance, UX, design

Every project went through several rounds of review, and every round found something:

Tests passed even when the deploy failed. With Next.js I had to run a real production build before every push, because tests and type checks did not catch the error. Browser tests run in GitHub Actions, not locally.

In the end I wrote each type of audit down as a reusable guide for the agent (security, SEO and marketing, UX and performance, consistent texts, legal), so nothing gets skipped next time.

8. Monitoring and analytics

9. My own control center

With several projects at once I lost track of what runs where and where each domain's DNS lives. So I built an overview called "Houston":

Houston (in Czech): status of all sites and a project switcher at the top, today's tasks below, then a task board across all repos. Task titles are blurred.

Marketing has its own table: rows are channels (Facebook, flyers, SEO…), columns are projects, and the color says what needs doing now and what can wait.

Houston (in Czech): a table of marketing channels by project. Each cell's color shows the most urgent item, from "on you now" to "done".

And each project has an architecture diagram. Here is Zahraj mi: the site on GitHub Pages, note recognition in the browser, and AI reading through a small Worker with a daily limit.

Zahraj mi architecture (labels in Czech): GitHub, GitHub Actions and GitHub Pages host the site. Visitors read notes in the browser with homr-web; invited users go through an AI Worker with limits in Cloudflare KV and a model via OpenRouter. GoatCounter counts visits.

The agents' instructions say to update that file after every deploy or domain change.

Checklist

Before I launch the next app, I go through this:

  1. Domain, DNS, HTTPS, www, e-mail on the domain (incoming and outgoing), SPF/DKIM/DMARC.
  2. Hosting, deploy on push, database backups, where the logs go.
  3. Login, CAPTCHA, rate limiting on everything that sends e-mail or calls AI.
  4. E-mail templates, including the ones a service generates for you.
  5. LLM: do I need one at all? Is a cheap one enough? Tested blind?
  6. Operator details, terms, GDPR, cookies, withdrawal, taxes.
  7. Reviews: security, performance, UX on a phone, consistent texts.
  8. Uptime monitoring, analytics, Search Console.
  9. An entry in the project overview.

What I take from this