Initial commit: standalone Django accounting API with admin JWT authorization
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
13
config/urls.py
Normal file
13
config/urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.http import JsonResponse
|
||||
from django.urls import include, path
|
||||
|
||||
|
||||
def health_check(_request):
|
||||
return JsonResponse({'status': 'ok', 'service': 'funzone-accounting'})
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('health', health_check, name='health'),
|
||||
path('api/health', health_check, name='api_health'),
|
||||
path('api/accounting/', include('accounting.urls')),
|
||||
]
|
||||
Reference in New Issue
Block a user