FEATUREDDeploying a Next.js Site to Vercel: Complete Guide
The four-step deploy, the DNS records that actually matter, and the three Vercel runtime limits that break real apps after the first green build.
CATEGORY · 7 ARTICLES
Getting the result onto the internet and keeping it there: deploying a Next.js site to Vercel, the difference between build-time and runtime environment variables and why it bites, reaching Cloudflare D1 over its HTTP API when the Workers binding does not exist, and where AI tooling fits into a deployment pipeline without being handed credentials it does not need.
FEATUREDThe four-step deploy, the DNS records that actually matter, and the three Vercel runtime limits that break real apps after the first green build.

The insert that survives duplicate requests, the safeguards around the route, and the confirmation flow this site has not built.

Choose a coding agent by the checks it can run against Wrangler configuration, generated Env types, and a local Worker build.

A D1 Worker fixture shows the shortest reliable loop: configuration first, generated binding types second, implementation third.

D1 without Workers: one wrapper module, the measured transport cost, the four error codes worth handling, and why batching and bound parameters cannot both be used.

Which of your variables are frozen into the bundle, which are read per request, and why a value that works locally can be absent in production.

A real GitHub Actions setup using this site's own typecheck, lint, and build scripts, plus where an automated AI review step should not run unattended.