Rate Limiting Next.js API Routes with Upstash Redis (and Why In-Memory Fails on Serverless)
A production pattern for Next.js rate limiting on Vercel: Upstash sliding windows, per-IP and per-email keys, correct 429 headers, and the in-memory trap.
Field notes on Next.js, Supabase, React Native and shipping products from Bangladesh.
A production pattern for Next.js rate limiting on Vercel: Upstash sliding windows, per-IP and per-email keys, correct 429 headers, and the in-memory trap.
Implement Supabase email OTP in Next.js with 6-digit codes: template change, send and verify route handlers, SSR cookies, brute-force limits and enumeration-safe responses.