https://github.com/chqrd/nest-health
Add /health endpoints to your NestJS project
https://github.com/chqrd/nest-health
nestjs
Last synced: about 2 months ago
JSON representation
Add /health endpoints to your NestJS project
- Host: GitHub
- URL: https://github.com/chqrd/nest-health
- Owner: chqrd
- Created: 2024-12-17T09:46:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-17T09:48:16.000Z (over 1 year ago)
- Last Synced: 2025-02-16T06:42:57.781Z (over 1 year ago)
- Topics: nestjs
- Language: JavaScript
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nest-health
This NestJS module adds a `/health` endpoint to your project.
## Installation
```typescript
import { HealthModule } from "@chqrd/nest-health";
import { Module } from "@nestjs/common";
@Module({
imports: [HealthModule],
})
export class AppModule {}
```
### Project setup
```bash
$ npm install
```
### Compile and run the project
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
```