0xironclad / 0xironclad/Task-Scheduler-API
Health & readiness probes
Offen
Anfängerfreundlich
ops
- Vorherrschende Sprache
- TypeScript
- Sterne
- 0
- Forks
- 2
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
`GET /health` (app up) and `GET /ready` (DB reachable). Useful for containers.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- express, node.js, postgresql, typescript
- Bereich
- api, backend, devops
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 70/100