Courses

Publish a website

Describe a website you actually want, pick the right stack for it, build it on your machine, publish it on Cloudflare, and put it on your own domain.

Publish a website

This is a project course: you start from something you want, a personal site, a page for a project, a portfolio, a blog, and pick up the Cloudflare pieces you need along the way.

You’ll describe the site to your agent, and it’ll recommend a stack that fits: plain HTML and CSS, or something with more room to grow, like Hono, Astro, EmDash, or vinext. You’ll build it on your machine until you like it, publish it as a Worker with static assets, and finally put it on your own domain.

The site can stay as simple as you want or get more interactive, depending on what you’re going for. Want visitors to leave a note? The Build a guestbook course picks up where this one ends.

Exercises

  1. 00.Interview: Describe the website you want to build: what it's about, who it's for, what it needs, and how it should look.
  2. 01.Choose your stack: Pick the tools your site is built with, based on what you described, then scaffold the project and see it run on your machine.
  3. 02.Build locally: Build the first real version of your site on your own machine, with real content and a 404 page, and iterate on it until you like it.
  4. 03.Deploy: Publish your site on Cloudflare, at a workers.dev URL you can share, and learn which requests run your Worker.
  5. 04.Add a domain: Put your site on your own domain: one you already have, or one you find and buy from the command line with Cloudflare Registrar.