---
title: "Deploy a secure full-stack web app for free, in seconds."
url: "https://web.popcomputer.com/"
updated: "2026-10-30"
version: "1.13.2"
---


# Deploy a secure full-stack web app for free, in seconds.

@popcomputer/web, or popweb, is a batteries-included Effect framework in the spirit of Laravel. Sign-in, a database, pages and hosting are solved, so you can spend your time on the part that matters.

- **Free hosting, handled.** Your app and its database go live on Cloudflare’s free plan, served fast worldwide. There’s no server to set up, patch or pay for.
- **Secure from the start.** Accounts and sign-in come from Better Auth, with protection against forged requests, disguised uploads and other common attacks on by default.

Powered by Hono, Effect, Inertia, React, Better Auth, Drizzle, Cloudflare Workers.

## See what one prompt builds.

Claude Code made each of these from the template, from a message or two. They’re all live, with their code on GitHub: drag through them, try one, then read how it was built.

- [A landing page with contact form.](https://web.popcomputer.com/examples#landing) A one-page site for a made-up product. Its form is checked by Turnstile, kept in D1, and emailed to the site’s owner through a Cloudflare Queue and Email Service.
- [A blog with a CMS behind it.](https://web.popcomputer.com/examples#blog) Write posts in Markdown with a preview, keep them as drafts, and publish them to a public blog with an RSS feed, served from Cloudflare’s cache.
- [A CRM with a drag-and-drop pipeline.](https://web.popcomputer.com/examples#crm) Deals on a board from lead to won, the people and companies behind them, a timeline of every call and note, and the tasks that come out of them.
- [A canvas everyone paints together.](https://web.popcomputer.com/examples#canvas) One shared grid. Paint a pixel, wait out your cooldown, and watch everyone else’s appear.
- [A retro board for a team.](https://web.popcomputer.com/examples#retro) Invite your team, add sticky notes to each column, and spend a few votes on what matters most.

## From side project to 100 million requests.

Your app runs on Cloudflare, which charges by the request: each page someone opens or form they send. Images, scripts and styles are served free. Drag the slider to see what a month costs as more people use it.

| Requests a month | Cost a month | On the bill |
| --- | --- | --- |
| 10,000 | $0 | Workers Free, D1. Cloudflare’s free plan covers it. |
| 100,000 | $0 | Workers Free, D1. Cloudflare’s free plan covers it. |
| 1 million | $0 | Workers Free, D1. Cloudflare’s free plan covers it. |
| 10 million | $5.80 | Workers Paid, CPU time over 30 million ms, D1. Past 100,000 a day, you’re on the $5 plan. |
| 100 million | $50.40 | Workers Paid, Requests over 10 million, CPU time over 30 million ms, Postgres on PlanetScale, Hyperdrive. Your data has moved to Postgres on PlanetScale. |

What the figures assume:

- Prices are [Cloudflare’s](https://developers.cloudflare.com/workers/platform/pricing/) and [PlanetScale’s](https://planetscale.com/pricing) own, in US dollars, as of October 2026.
- Each request uses 7 ms of CPU time, as in Cloudflare’s worked examples. At 15 and 100 million requests, our Cloudflare totals match theirs.
- Requests are spread evenly over a 30-day month. The free plan counts by the day, so one busy day can take you past it sooner.
- We move the data to Postgres at 50 million. If each page runs five queries and the busiest hour is three times the average, that’s nearly 300 queries a second, and [one D1 database](https://developers.cloudflare.com/d1/platform/limits/) works through them one at a time. Move sooner if your data is heading for D1’s 10 GB.
- PlanetScale’s $5 is its smallest Postgres, on one server. More storage and backups cost extra.

## Security in depth.

Nothing on the internet is unhackable, and we won’t pretend otherwise. But most small sites aren’t broken into through clever code. They’re broken into through a server nobody patched, an upload that ran as code or a password file left in the wrong folder. With @popcomputer/web, those things aren’t there to get wrong.

|  | A PHP site on a server | Your app on @popcomputer/web |
| --- | --- | --- |
| Security fixes | Each on its own timetable. Your site is as safe as the slowest one. | One company runs everything under your code, so a fix goes out once. For the engine Workers run on, that’s usually within a day. |
| The server | Yours to patch and lock down: the operating system, SSH and every open port. | There isn’t one. Cloudflare keeps the engine your app runs on up to date. |
| The database | Listening on an open port, often with an admin page beside it. | No address on the internet. Only your app and your Cloudflare account can reach it. |
| Uploads | A script dropped in the uploads folder can run as code. | Stored as data and never run. There’s no folder of scripts for a file to land in. |
| Config files | A forgotten password file or backup in the web folder can be downloaded. | Only the pages you declare answer, and secrets are encrypted settings, not files. |
| After a break-in | A backdoor hides in a theme file or a scheduled job, and stays. | Each deploy is a fixed copy of your code. A running app can’t rewrite itself. |

Also on by default: Forged requests refused, Password guessing slowed, Queries kept apart from input, Every form checked, Text shown as text, Uploads served as what they are.

## Everything you need to build anything.

Whether you’re testing a small idea or launching your first product, you start from a working app, not a blank page. Sign-in, data and hosting are ready when you need them.

- **User account management** Sign-up, sign-in and sign-out work from the first page. Add two-step sign-in, magic links or Sign in with Google when you need them.
- **Teams and roles** Put people in organisations, give them roles like owner, admin and member, and keep some pages to the roles that need them.
- **Private by default** Each record opens only for the people allowed to see it. Anyone else gets a page that says it isn’t there.
- **A real database** Tables, migrations and rules that hold even when two people save at once, on Cloudflare’s free plan.
- **Forms and uploads** Every field is checked, errors show beside the field they’re about, and files are accepted by type and size.
- **Background and scheduled jobs** Resize a photo after the page loads, tidy up every night at 3am, or work through a queue, with no server to keep running.

## Let your AI get you up and running.

Copy one prompt into Claude, ChatGPT or your coding agent. It starts from the template, builds what you describe one page at a time, and shows you the first page running.

**What you’ll need.** A Cloudflare account, where the free plan is enough, and a Claude or ChatGPT subscription. We recommend Claude with Opus 5.5. Your AI also sets up Node.js and Bun, the tools that run your app, once you allow it.

1. **Copy the prompt** It tells your AI where the docs are and how to set the app up.
2. **Paste it into your AI** Claude, ChatGPT, Claude Code or Cursor. Finish the last line with what you want to build.
3. **See your first page** It creates the app from the template, runs it, and shows you it working before it builds anything new.

Prefer the terminal? `bun create PatrickOgilvie/popcomputer-web-demo my-app`

The setup prompt:

```text
I want to build a web app with @popcomputer/web: React pages served by Inertia from a Cloudflare Worker, with Effect actions, D1 through Drizzle, and Better Auth for accounts.

1. Download https://web.popcomputer.com/llms.txt and two short files from the framework's docs, https://raw.githubusercontent.com/PatrickOgilvie/popcomputer-web/v1.13.2/docs/which-api.md (which API for each task) and https://raw.githubusercontent.com/PatrickOgilvie/popcomputer-web/v1.13.2/docs/type-errors.md (what each type error means), with curl -fsSL, so you have their exact text (a fetch tool that summarises them loses their tables), and read all three, saving them in a folder of their own beside the app's, such as popweb-docs. Trust these over anything you remember: 1.0 replaced most of the 0.x API.
2. Set up my computer, once. Check for each of these first, and ask me before installing anything:
   - Node.js, with node --version and which node. Wrangler needs 22 or later. portless is built for 24, and its portless doctor check fails below 24, though it runs on 22, so that failure doesn't matter if I keep 22.
     - If it's missing or older than 22, ask me to install the LTS from https://nodejs.org: its installer needs my password.
     - If it's 22 or 23, ask me whether to move to 24, saying 22 works for everything here and 24 only quiets portless doctor, and carry on if I'd rather keep it.
     - If which node shows a path under .nvm, nvm provides it and the installer won't change it. To install or move to 24 once I say yes, run nvm install 24, nvm alias default 24 and nvm use 24 instead, and tell me that terminals I already have open keep the old version until I open new ones.
   - Bun, with bun --version. If it's missing, ask me, then install it the way https://bun.sh says for my system (on a Mac or Linux, curl -fsSL https://bun.sh/install | bash), then open a new terminal or run export PATH="$HOME/.bun/bin:$PATH".
   - portless, with portless service status. If it isn't installed as a service, ask me, then run bun add -g portless@0.15.8, and ask me to run portless service install in my own terminal: it asks for my password once, which doesn't show as I type it, and from then on serves https://*.localhost after every restart.
3. Create the app from the template with bun create PatrickOgilvie/popcomputer-web-demo my-app, naming it after what I want to build instead of my-app, in lowercase with dashes (like reading-list), and not a name portless list already shows: the name becomes its address, and its name on Cloudflare once you set it up there (until then, wrangler.jsonc and a build's output still use the template's name, popcomputer-web-demo). bun create also makes a git repository with a first commit, and ends by suggesting bun dev, which runs the same script as bun run dev. Then cd into it and run bun run dev, and leave it running in the background: the first run writes .dev.vars and sets up the local database by itself. Show me https://my-app.localhost (with the name you chose) working: signed out, a browser goes from / to the sign-in page at /login?redirect=%2F, which curl -isS -A Mozilla/5.0 -H 'Accept: text/html' https://my-app.localhost/ shows as a 302, while curl -isS https://my-app.localhost/ gets a JSON 401, which is expected. The app's README shows how to sign up, confirm the address and sign in with curl, with the name you chose in place of my-app: until email sending is set up on Cloudflare, bun run dev prints the confirmation link instead of emailing it. To stop the app, press Ctrl-C if it runs in your terminal, or run bun run stop in its folder if it runs in the background. Stop it only when I ask, and always before starting it again. If its address shows portless's 404 page, the app isn't running: start it with bun run dev, whatever that page suggests. Right after it starts, a 502 page means it's still starting: wait for bun run dev to print Open https://my-app.localhost in your browser.
4. While it runs, read the template's AGENTS.md, and node_modules/@popcomputer/web/AGENTS.md, which matches the installed version and names the one API to use for each task. node_modules/@popcomputer/web/docs/ has one short file per task, matching the installed version too: read the one a task needs. Run bun run check (the type check, the framework's lint rules and the tests: the tsc, oxlint and bun test that llms.txt names) and show me it passes before changing anything. If it fails, stop and show me the failures. AGENTS.md also describes the Effect language service, a fuzz test and the agent fence, which the template doesn't set up: bun run check is the check, so don't add them unless I ask. It prints Lint: no problems even when oxlint has printed a warning, so read the lint output too.
5. Then build what I describe one page at a time, the way the template's AGENTS.md adds a page (its projects pages are an example to copy and learn from: keep them until my pages work, then ask me whether to remove them and make my first page the one I land on after signing in):
   - its path in src/paths.ts, its props in src/pages.ts and its form's fields in src/forms.ts
   - its action in src/actions/, registered in src/routes.ts, and, when its path names a record, the record's table in bindings in src/app.ts, saying who may load it
   - its component in src/pages/, listed in src/main.tsx
   - a test in test/ that goes through the app
   Run bun run check after each page. A type error where a route is registered names what is missing; docs/type-errors.md explains each one, and each lint message names the API to use instead.
   When it's built, show me it working at its address, and tell me how to try it in my browser. When I sign up there, the confirmation link appears only in bun run dev's output, so give it to me.

Rules: keep failures typed in Effect instead of throwing; parse every external value with Effect Schema; build every URL from src/paths.ts; never restate a type the setup already declares; never call Better Auth's auth.api from an action. Change the database only by editing src/schema.ts and generating a migration named for its change (bun run db:generate --name add_books for a books table), then apply it with bun run db:migrate:local, or restart the app (bun run stop, then bun run dev), which applies new migrations when it starts. A public page I describe is my go-ahead for the binding that serves it, and for the reasoned disable comment its lint warning asks for; ask me before making anything else public, changing how people sign in, adding another Cloudflare service (such as R2 for files), or deploying. If you can't run commands, give me each file and command in order.

What I want to build:
```

## Your next app is one message away.

Copy the prompt into Claude or ChatGPT and it builds the app for you, with sign-in, a database and free hosting included.

More: [llms.txt](https://web.popcomputer.com/llms.txt) · [Documentation](https://github.com/PatrickOgilvie/popcomputer-web/tree/main/docs) · [GitHub](https://github.com/PatrickOgilvie/popcomputer-web) · [npm](https://www.npmjs.com/package/@popcomputer/web)
