§00 · Front matter
LearnWebCraft · Field notes for frontend engineers
Frontend engineering, written down properly.
Tutorials and notes on React, Next.js, TypeScript and CSS: what we tried, what broke, and the patterns that held up in production.
§01Index
Topics
- 01HTML8 entries · Nov 2025
- 02CSS13 entries · Mar 2026
- 03React19 entries · Dec 2025
- 04Next.js17 entries · Nov 2026
- 05Angular6 entries · Nov 2025
- 06Vue.js6 entries · Dec 2025
- 07TypeScript4 entries · Dec 2025
- 08AI6 entries · Jul 2026
- 09Architecture2 entries · Dec 2025
- 10Web Platform5 entries · Nov 2026
- 11Rust15 entries · Dec 2026
§02Series
Rust for web developers
Learn Rust from zero, then build and ship a real web backend with Axum, in 15 parts.
15 of 15 parts published
Rust basics
- 01Set up Rust on Windows, macOS and LinuxPart 1
- 02Variables, types, functions and control flowPart 2
- 03Ownership and borrowing, explained for JS developersPart 3
- 04Structs, enums and pattern matchingPart 4
- 05Option, Result and error handling without exceptionsPart 5
- 06Modules, crates and the Cargo ecosystemPart 6
- 07Traits, generics and closuresPart 7
- 08Collections, iterators and stringsPart 8
- 09Async Rust and TokioPart 9
Building with Axum
§03Latest
New in the index
Axum Authentication, Validation and Security Basics
Part 13 of Rust for web developers: add users to an Axum API with Argon2 password hashing, session tokens, the validator crate, body limits and CORS.
RustBeginnerDeploy an Axum App with Docker: Builds, Shutdown, Hosting
Part 15 of Rust for web developers: ship an Axum and PostgreSQL API with a multi-stage Dockerfile, Docker Compose, graceful shutdown and a hosting plan.
RustBeginnerYour First Axum Server: Routes, JSON and Extractors
Part 10 of Rust for web developers: build a JSON API with Axum 0.8. Routes, path and query parameters, JSON with serde, status codes and handler errors.
RustBeginnerAxum with SQLx and PostgreSQL: A Real Database
Part 12 of Rust for web developers: store data in PostgreSQL with SQLx. Migrations, a connection pool, compile-time checked queries and database errors.
RustBeginnerAxum State, Middleware and JSON Error Responses
Part 11 of Rust for web developers: shared state in Axum, tower-http middleware for logging, compression and timeouts, and one AppError type for JSON errors.
RustBeginnerTesting an Axum API: Unit, Integration and Database Tests
Part 14 of Rust for web developers: test an Axum API with cargo test, call the router directly with tower's oneshot, and give each test its own database.
RustBeginner
§04Journal
From the journal
Build a Claude Code MCP Server in TypeScript
Build an MCP server for Claude Code with the v2 TypeScript SDK: tools with Zod schemas, a resource, a prompt, stdio, claude mcp add and a real headless test.
JournalBuild a Wrapped-style year in review with modern CSS
Build your own Wrapped-style year in review with scroll snap, scroll-driven animations, @property counters, View Transitions and a canvas share image.
JournalOpenCode vs Claude Code: I Ran Both on the Same 4 Tasks
OpenCode and Claude Code on the same four TypeScript tasks, graded by hidden tests. Pass rates, speed, tokens, cost and free-model privacy, measured.
Journal
§05Instruments
Tools on the bench
- JSON Formatter and ValidatorFormat, minify, and validate JSON with instant error feedback.
- CSS Gradient GeneratorCreate linear, radial, and conic gradients with live preview and copy-ready CSS.
- CSS Grid GeneratorBuild CSS Grid layouts with a live preview and copy-ready CSS, using px or rem gaps.
- JSON to TypeScript TypesTurn a JSON sample into TypeScript interfaces, with nested objects, arrays and quoted keys, then copy or download the .ts file.
- LLM Token EstimatorEstimate the token count of a prompt from its length, with characters, words and an input cost from a price you enter.
- CSP Header BuilderBuild a Content-Security-Policy string from a directive list, with header and meta output and warnings for unsafe values.