Build a Hono Blog

Build Driftwood Daily with Hono, JSX, Simple.css, Cloudflare D1, cookie sessions, owned post CRUD, search, password recovery, and Cloudflare Workers deployment.

  • Difficulty Intermediate
  • Parts 12
  • Stack TypeScript, Hono, JSX, Simple.css, Cloudflare D1, cookie sessions, bcryptjs

How this project works

Driftwood Daily is an original teaching blog in twelve complete snapshots. Clone once and run any numbered folder without rebuilding earlier stages.

The path starts with Hono and routing, adds JSX and Simple.css, then introduces isolated D1 databases per snapshot. Later parts add sessions, media, ownership, pagination, search, reset tokens, and Cloudflare Workers deploy notes.

Snapshots 4–12 seed ada@example.com and grace@example.com with password123.

Each stage keeps its own D1 database binding (driftwood_01driftwood_12) so you can reset with wrangler d1 execute or by deleting local Wrangler state.

Open GitHub repo →

Parts in order

Work through the parts in sequence. Each lesson explains the ideas, then points you to a runnable GitHub snapshot.