Skip to content

Issue #54 — Health check endpoint #451

@GoSTEAN

Description

@GoSTEAN

Title: [Middleware] Implement health check and readiness probe endpoints

Tags: backend, feature, good first issue

Description:
Kubernetes-compatible health and readiness endpoints for load balancers and orchestration.

Acceptance Criteria:

  • GET /health — liveness probe; returns 200 { status: "ok", uptime } always (even during DB issues).
  • GET /health/ready — readiness probe; checks DB, Redis, and Stellar RPC; returns 200 if all pass, 503 if any fail.
  • No auth required on either endpoint.
  • Response includes: { status, db, redis, stellar, version }.

File: src/routes/health.routes.ts


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions