Skip to main content

v2-api-endpoints

Describes how to add Express routes under app/src/api/v2: validate middleware with Zod, shared @shared/validation (domain + http), server errors via the v2 errorHandler, responseUtils for JSON bodies, colocated supertest suites, extracting domain operations (DomainFailure, no HTTP in domain), and updating types/src/v2/endpoints for response shapes. Use when creating or changing v2 HTTP endpoints, route handlers, tests, validation wiring, or @offnominal/ndb2-api-types v2 exports; pairs with v2-database-queries for data access and domain-operations for shared business logic.

설치로 이동

소스 정보

저장소
Off-Nominal/ndb2
최근 소스 활동
2026년 5월 14일 16:20
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.