Files
Flook 34e0fa8d71
Build & Push Docker Image (Backend) / build (push) Successful in 1m50s
chore: add health-check api endpoint
2026-04-26 14:23:13 +07:00

15 lines
379 B
Python

from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
class HealthCheckView(APIView):
permission_classes = []
authentication_classes = []
def get(self, request):
return Response({
'status': 'ok',
'service': 'lms-backend'
},
status=status.HTTP_200_OK)