Articles
Notes from the trenches.
42 articles about web development, React, Next.js, TypeScript and more. RSS
- 4 min
Running Prisma migrations safely in production
Expand and contract migrations, backfills, shadow databases, zero-downtime renames, and operational checklists for Postgres under load.
- Node.js
- PostgreSQL
- Prisma
- 3 min
Security headers in Next.js (App Router)
Defense in depth with X-Frame-Options, HSTS, Referrer-Policy, Permissions-Policy, and a pragmatic Content-Security-Policy rollout using Report-Only, nonces, and middleware.
- Next.js
- Security
- 3 min
Storybook for documentation and interaction tests
Composition patterns, play functions with Testing Library, accessibility addon workflows, visual regression options, and how Storybook fits CI for design systems.
- React
- Testing
- Design Systems
- 2 min
Debugging Node and TypeScript in VS Code
launch.json recipes for Vitest and Jest, attaching to Nest/Express with --inspect, compound configs, env files, and source-map pitfalls in monorepos.
- Node.js
- TypeScript
- DX
- 3 min
GitHub Actions
Workflow design: matrices, concurrency, reusable workflows, OIDC to cloud providers, caching dependencies, and secrets hygiene for CI/CD on GitHub.
- GitHub
- Pipeline
- 3 min
Using the Fetch API in JavaScript
Beyond GET: JSON bodies, headers, credentials, CORS, cancellation with AbortController, streaming responses, and how Next.js extends fetch with caching controls.
- Next.js
- React
- Markdown