Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Backend/config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
"""
from django.contrib import admin
from django.urls import include, path
from django.http import JsonResponse

def health_check(request):
"""Health check endpoint for Render"""
return JsonResponse({"status": "healthy", "service": "TOC-Simulator API"})

urlpatterns = [
path('health/', health_check, name='health_check'),
path('admin/', admin.site.urls),
path('auth/', include('apps.authentication.urls')),
]
Loading