Blog
Next.js 15 guides for self-hosted AI SaaS: Docker, Caddy, Auth.js, Stripe, LangGraph, pgvector, and Hetzner cost.
21 posts · page 3 of 4
28 Oct 2026 · Auth & Stripe
Stripe Webhooks in Next.js 15 App Router, Raw Body and Idempotency
Why stripe.webhooks.constructEvent fails in the App Router, how to read the raw body, and how to store event ids so retries do not double-credit.
Read28 Oct 2026 · Auth & Stripe
Next.js 15 Server Actions Authorization, Stopping IDOR
Server Actions are POST endpoints. How to check the Auth.js session inside the action, reject cross-tenant ids, and share one guard across mutations.
Read28 Oct 2026 · Hardening & Ops
Next.js 15 AI SaaS Starter Kits, Self-Hosted vs Cloud-Locked
What you actually get from a self-hosted Docker starter versus a Vercel-shaped boilerplate, and how AgenticPacks Pro compares on auth, Stripe, RAG, and ops.
Read28 Oct 2026 · LangGraph & Agents
Streaming Multi-Agent Workflows with LangGraph.js in Next.js 15
Supervisor to worker StateGraph, streaming intermediate reasoning over SSE, and why App Router Route Handlers beat a single chat completion.
Read28 Oct 2026 · LangGraph & Agents
Human-in-the-Loop AI Agents in Next.js, Checkpoints and Approval Gates
Why a production agent must pause before it sends email or spends money, how LangGraph stores that pause in PostgreSQL, and how an Approve button resumes the same thread.
Read28 Oct 2026 · Hardening & Ops
Caddy for Next.js 15, Automatic SSL and Zero-Buffering SSE
Why NGINX plus Certbot is the long way, how Caddy terminates TLS in Docker, and why flush_interval -1 is required for AI token streams.
Read
