feat(lobby): add create/join/detail session endpoints

This commit is contained in:
2026-02-27 13:22:12 +01:00
parent e921bd6b4b
commit 93d3e9eca2
3 changed files with 149 additions and 6 deletions

View File

@@ -1,13 +1,14 @@
from django.contrib import admin
from django.http import JsonResponse
from django.urls import path
from django.urls import include, path
def health(_request):
return JsonResponse({'ok': True, 'service': 'weirsoe-party-protocol'})
return JsonResponse({"ok": True, "service": "weirsoe-party-protocol"})
urlpatterns = [
path('admin/', admin.site.urls),
path('healthz', health, name='healthz'),
path("admin/", admin.site.urls),
path("healthz", health, name="healthz"),
path("lobby/", include("lobby.urls")),
]