An open API service indexing awesome lists of open source software.

https://github.com/seamapi/nextjs-health-endpoint-module

Simple NextJS Health Endpoint packaged as an NPM Module
https://github.com/seamapi/nextjs-health-endpoint-module

Last synced: 2 months ago
JSON representation

Simple NextJS Health Endpoint packaged as an NPM Module

Awesome Lists containing this project

README

          

# NextJS Health Endpoint Module

## Installation

```bash
npm install @seamapi/nextjs-health-endpoint-module
```

## Usage

```ts
import healthEndpoint from "@seamapi/nextjs-health-endpoint-module"

const server = await healthEndpoint({ port: 3030 })

// You can now call http://localhost:3030/health

server.close()
```