Your First Live Web App

Learn the three parts of an app, then put yours where anyone can reach it.

Kevin Lenida

The link works on everyone's phone, not just yours.

The problem

Two places an app can live

On your computer

  • Only you can open it.
  • It stops when you close the laptop.
  • You cannot send it to anyone.

On the internet

  • Anyone with the link can open it.
  • It runs without your laptop.
  • You send one link.
What we build

One poll, one link

Keep this app in mind. The three parts we name next all belong to it.

01

The Three Parts

Three parts, and what each one is for.

Three Parts

The path one vote takes

Frontend the part you see Backend the part that thinks Database the part that remembers a vote keep it
Three Parts

What each part does

You need all three. Drop one and the app cannot work.

Three Parts

You do not always need all three

Add a part only when you must. Our poll needs all three, because the votes must survive.

02

Meet Cloudflare

Who they are, and what they call the three parts.

Meet Cloudflare

What Cloudflare is

We use Cloudflare because it gives you all three parts in one place, and today it costs nothing.

Meet Cloudflare

Not the only one

What you learn today carries over. Only the names change.

Cloudflare Names

The same path, renamed

Static Assets the frontend Worker the backend D1 the database One Worker holds the page and the code together.
Cloudflare Names

Pick the right store

We use D1. We must count votes, and the count must be right at once.

03

What You Need

Set it up one time. Then never think about it again.

What You Need

Three things, one time

Install Wrangler once for the whole computer, not for each project. Then forget it.

What You Need

Only one of these deploys your app

Guides mix all three and that is why they confuse people. Today, only Wrangler runs.

What You Need

What the free plan gives you

You do not enter a card. Correct as of August 2026.

04

Build It Live

We build the poll now. Then you all vote from your seats.

Build It Live

How the live part works

The poll open on a phone, with four options and a bar for each

You open the link. You tap one option. The count moves on this screen.

Build It Live

You describe it. Claude builds it.

Kevin
Build a poll. One question, four options. Everyone in this room votes from their phone, and the count updates on the screen. Put it on the internet.
Claude
Done. The page people see, the code behind it, and a database for the votes. It is live — here is the link.
Recap

What we covered

  1. An app has up to three parts: a frontend, a backend, and a database.
  2. Cloudflare calls the three parts Static Assets, a Worker, and D1.
  3. Choose D1 for records, like votes or bookings.
  4. Wrangler builds your app and sends it out. You need nothing else today.
Your turn

Before next session

Change one thing in your poll. New question, new options, new colours.

Send the link to three people who were not in this room.

Watch the count move from your own phone.

Remember: the link is the proof. If a stranger can open it, you shipped it.

Your app needs three parts. Cloudflare gives you all three for free.

Now go send somebody a link.