- pnpm workspace with packages/app, packages/server, packages/shared - @mp-pilates/shared: enums, constants, TypeScript interfaces for all 8 data models - @mp-pilates/server: NestJS bootstrap with health check, validation pipe, CORS - Base TypeScript config with strict mode
10 lines
194 B
TypeScript
10 lines
194 B
TypeScript
import { Controller, Get } from '@nestjs/common'
|
|
|
|
@Controller()
|
|
export class AppController {
|
|
@Get('health')
|
|
health() {
|
|
return { status: 'ok', timestamp: new Date().toISOString() }
|
|
}
|
|
}
|