feat(api): cn-app skeleton, toolchain, env loading convention

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-17 19:14:41 +08:00
parent f77ab5ae4b
commit 7d250ec342
21 changed files with 1655 additions and 27 deletions
+11
View File
@@ -0,0 +1,11 @@
// services/api/src/health.controller.ts
// GET /v1/health —— 存活探针(P1a 仅此一个端点,后续任务逐步扩展)。
import { Controller, Get } from '@nestjs/common';
@Controller('health')
export class HealthController {
@Get()
check(): { status: 'ok' } {
return { status: 'ok' };
}
}