Building a Web App with Go and HTMX
summary
Builds a working CRUD gardening app called Let's Go (and earlier BanterBus) using Go, HTMX, templ, tailwindcss and Postgres and keeps the frontend minimal so code stays simple and reviewable. Uses SQLC for handwritten SQL, Temple for Temple LSP typed templates, Air + file-watch for hot reloads, Playwright in Go for E2E, Nix for reproducible dev shells, cookies for auth and HTMX websockets for realtime; HTMX is tiny (50KB HTMX) and returns HTML snippets so backend holds state and redirects use HX-Redirect headers.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 6:01Go and HTMX vs React/Svelte
- 12:59What is HTMX
- 25:28HTMX limitations
- 26:57Go backend architecture
- 28:44Temple templates
- 33:42SQLC queries
- 35:58Dev tools automation
- 42:54Key takeaways
- 43:55Q&A
related talks
40mHTML Re-imagined for the era of web apps
47mMeet Your New BFF: Backend to Frontend without the Duct Tape
23mBuilding Gophercises
53mBuild a self-service internal developer platform
34mLightning Talks
10mLightning Talk: Letsgo: The Ultimate Platform CLI
31mI have a Dreamcode: Build Apps, not Backends
44mNode & Express as Workflow Tools
