phase1: bootstrap containerized django stack and project scaffold

This commit is contained in:
Alfredo Di Stasio
2026-03-09 16:10:34 +01:00
parent 8cd65349c8
commit 35686bdb66
32 changed files with 655 additions and 1 deletions
View File
View File
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class CoreConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.core"
View File
+8
View File
@@ -0,0 +1,8 @@
from django.urls import path
from .views import health, home
urlpatterns = [
path("", home, name="home"),
path("health/", health, name="health"),
]
+10
View File
@@ -0,0 +1,10 @@
from django.http import JsonResponse
from django.shortcuts import render
def home(request):
return render(request, "home.html")
def health(request):
return JsonResponse({"status": "ok"})