001 Project structure

This commit is contained in:
Раис Юсупалиев
2026-03-07 13:23:59 +03:00
parent ff319170a2
commit adfa3e26de
33 changed files with 382 additions and 18 deletions
+1
View File
@@ -0,0 +1 @@
"""HTTP layer components."""
+7
View File
@@ -0,0 +1,7 @@
"""Controller-level HTTP client factory."""
from httpx import AsyncClient
def build_controller_http_client(timeout_seconds: float) -> AsyncClient:
return AsyncClient(timeout=timeout_seconds)
+10
View File
@@ -0,0 +1,10 @@
"""HTTP middleware registration."""
from fastapi import FastAPI
def install_middleware(app: FastAPI) -> None:
"""Register middleware components for the API."""
# Middleware stack is introduced in later tasks.
_ = app
+1
View File
@@ -0,0 +1 @@
"""Versioned API controllers."""
+5
View File
@@ -0,0 +1,5 @@
"""Delivery API controller skeleton."""
from fastapi import APIRouter
router = APIRouter(prefix="/delivery", tags=["delivery"])