0xironclad / 0xironclad/Task-Scheduler-API
Health & readiness probes
Đang mở
Phù hợp với người mới
ops
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
`GET /health` (app up) and `GET /ready` (DB reachable). Useful for containers.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- express, node.js, postgresql, typescript
- Lĩnh vực
- api, backend, devops
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 70/100