Authentication and JWT issuance service.
Scripts#
npm run dev— Start in watch mode.npm run build— TypeScript build.npm test— Jest (ESM) usingapp.inject()for HTTP tests.
Development notes#
- Owns user auth flows and token validation; other services should call its REST endpoints.
- Keep OpenAPI spec in sync (
openapi/openapi.yaml); validate withnpm run openapi:validate. - Coverage target: ≥70% (checked in CI).