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
- Host: GitHub
- URL: https://github.com/seamapi/nextjs-health-endpoint-module
- Owner: seamapi
- Created: 2021-12-21T17:47:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T19:03:29.000Z (over 1 year ago)
- Last Synced: 2025-03-19T09:42:56.881Z (over 1 year ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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()
```