import socket
import asyncio

from fastapi import APIRouter, Depends
from starlette.responses import Response 

 

router = APIRouter(prefix="/health", tags=["Health"])


@router.get('/check', status_code=200)
def healthcheck():
    """
    Performs a health check on the application.

    Returns:
        dict: A JSON response indicating the health status.
    """ 
    return {'status': True, 'healthcheck': 'Everything OK!'}
 
