Blog
Step-by-step guides, quick tips, updates on what I’m building, and the occasional personal post. Code blocks have a copy button, so you can follow along in your own project.
6 posts
NEWAI in your app21 min read
Ali Murtaza · Nov 21, 2026Security27 min read
Ali Murtaza · Nov 18, 2026Next.js caching16 min read
Ali Murtaza · Nov 15, 2026Stripe12 min read
Ali Murtaza · Nov 12, 2026Next.js · Prisma13 min read
Ali Murtaza · Nov 9, 2026Better Auth16 min read
Ali Murtaza · Nov 6, 2026
Add an AI assistant to your Next.js app, with limits that protect your bill
A streaming Claude assistant in Next.js 16: the key server-side, saved conversations, per-visitor limits, a daily token budget and clear errors.8 security holes in a Next.js app, and how to close each one
Eight security holes in Next.js apps, each opened, proved and closed: open redirects, server actions, rate limits, XSS, CSV injection, SSRF, secrets, headers.Caching in Next.js 16, explained by the errors you’ll hit
use cache, cacheLife, cacheTag, updateTag and Suspense in Next.js 16 — with every error message the build gives you, and its fix.Take payments in Next.js with Stripe: Checkout, webhooks and orders that can’t be faked
Stripe Checkout, a verified webhook, orders recorded once, and access only for real payments — step by step on Next.js 16.Next.js 16 + Prisma 7 + Postgres: from a fresh app to production
A database-backed Next.js 16 app with Prisma 7 and Neon Postgres, from install to deploy, step by step.Better Auth in Next.js: sign-up, sessions, GitHub and admin roles
Sign-up, sign-in, protected pages, an admin role and GitHub, step by step on a fresh Next.js 16 app.Get new posts by email
Get an email when I publish something new. No spam, unsubscribe anytime.