Writing
Notes on backend engineering, web applications and applied AI.
- Building an MDX portfolio with clear SEO and publishing rules
How this site publishes articles from MDX files in Git: one rule decides what is public, metadata is validated at build time, and search engines see nothing before the release.
- Moving expensive API work into background jobs
When a request does slow, failure-prone work, record it, answer with 202 and let a worker do the rest. The hard parts are the gap between database and queue, retries and work that runs twice.
- Testing Next.js applications with Vitest and Playwright
Unit tests for functions with rules, browser tests against a production build for everything visitors and crawlers see. How this site divides the work, and what neither kind of test can prove.