Skip to content

[FEAT] Add Health Check Endpoint #443

@breezeconcept

Description

@breezeconcept

Description

Create a simple health check endpoint to verify that the API is running correctly. The endpoint should return a JSON response confirming the server status. This will help with monitoring and debugging by providing a quick way to check if the backend is operational.

Acceptance Criteria

  • Create a new GET endpoint at /
  • The endpoint should return a 200 OK status code
  • The response body should follow this structure:
    {
      "status_code": 200,
      "message": "Welcome to C-Sharp Backend Endpoint"
    }

Requirements

  • Method: GET
  • URL: /
  • Headers: application/json

Response

Successful Response (200 OK)

{
  "status_code": 200,
  "message": "Welcome to C-Sharp Backend Endpoint"
}

Error Response (500 Internal Server Error, if any issue occurs)

{
  "status_code": 500,
  "message": "Internal Server Error"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions