NextJS Health Endpoint Module
Installation
npm install @seamapi/nextjs-health-endpoint-module
Usage
import healthEndpoint from "@seamapi/nextjs-health-endpoint-module"
const server = await healthEndpoint({ port: 3030 })
// You can now call http://localhost:3030/health
server.close()