Skip to content

[Backend] Add a /health endpoint #135

Description

@Muhammadcodes112

Description

A minimal endpoint deploy platforms (and humans) can hit to confirm the server is actually running.

Where

astre_server/src/app.controller.ts

What to implement

@Get('health')
getHealth() {
  return { status: 'ok', timestamp: new Date().toISOString() };
}

Acceptance Criteria

  • GET /health returns 200 with { status: 'ok', timestamp: <ISO string> }
  • No authentication required

Hints

  • This is one of the simplest issues in the whole backend list — a good very-first-PR pick.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendNestJS API (astre_server)good first issueGood for newcomersphase-1Core donation-loop MVP (1/3 scope), builds on mvp-phase-1 branch

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions