nextjs-frontend-api-client-patterns

Standard patterns for HTTP/API clients in Next.js 16+ App Router frontends: where to put the client, how to type it, how to handle errors, and how to attach auth headers in a reusable way.

nextjs
frontend
api
client
patterns