NExt API Packages

next-app-api-route

This package provides a simple way to define API routes with authentication and middleware support in a Next.js application. The code below demonstrates how to create middleware and handle any HTTP requests.

1.1.6 • Published 4 months ago