0xironclad / 0xironclad/Task-Scheduler-API
Health & readiness probes
未关闭
适合新手
ops
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
`GET /health` (app up) and `GET /ready` (DB reachable). Useful for containers.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Look for the Express app setup in the main server file (likely index.ts or app.ts). Add two new GET routes: '/health' that returns a simple 200 OK, and '/ready' that checks the database connection (e.g., a simple query). Test by running the server and curling the endpoints. Ensure the responses are appropriate for container health checks.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- express, node.js, postgresql, typescript
- 领域
- api, backend, devops
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 70/100