https://nextjs.org/docs/pages/building-your-application/routing/api-routes

Next.js supports API Routes, which allow you to build your API without leaving your Next.js app. Learn how it works here.
Was this page helpful?