Next.js API with Swagger & Bearer Token

Welcome to your API!

Quick Start

Available Endpoints

How to Use

  1. Go to /docs to see the Swagger UI
  2. Click the "Authorize" button in the top right
  3. Enter your bearer token
  4. Try out the endpoints!

Testing with cURL

curl -H "Authorization: Bearer <YOUR_TOKEN>" \
  http://localhost:3000/api/health