Description
The frontend has no way to distinguish between "server is down" and "this specific request failed". A simple health endpoint lets the frontend (or a future monitoring tool) check server availability and show a useful banner rather than confusing 5xx errors on every page.
Deliverables
Notes
No new packages needed — plain NestJS controller method is sufficient. Do not add @nestjs/terminus unless the task explicitly requires dependency health checks.
Description
The frontend has no way to distinguish between "server is down" and "this specific request failed". A simple health endpoint lets the frontend (or a future monitoring tool) check server availability and show a useful banner rather than confusing 5xx errors on every page.
Deliverables
GET /healthroute toapp.controller.ts(or a newHealthController){ status: 'ok', timestamp: new Date().toISOString() }npm run buildpasses innevo_server/npm run lintpasses innevo_server/Notes
No new packages needed — plain NestJS controller method is sufficient. Do not add
@nestjs/terminusunless the task explicitly requires dependency health checks.