feat: add app controller with endpoints for application version and health checks.
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 2m19s
All checks were successful
Deploy NestJS API / build-and-push-deploy (push) Successful in 2m19s
This commit is contained in:
@@ -12,9 +12,9 @@ export class AppController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Get('health')
|
@Get('health')
|
||||||
@ApiOperation({ summary: 'Health check' })
|
@ApiOperation({ summary: 'Health check' })
|
||||||
healthCheck() {
|
healthCheck() {
|
||||||
return { status: 'SIMPLIFIQUE HOME CENTER' };
|
return { status: 'SIMPLIFIQUE HOME CENTER 2026' };
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user