Add backend and frontend skeleton

This commit is contained in:
2025-11-26 14:47:36 +01:00
parent 1dc225dd77
commit 7ec9324997
37 changed files with 6973 additions and 119 deletions

View File

@@ -0,0 +1 @@
"""Auth feature placeholder."""

View File

@@ -0,0 +1 @@
"""Adapters for auth integrations."""

View File

@@ -0,0 +1,3 @@
"""Placeholder for FastAPI Users integration."""
# Add glue code for FastAPI Users when adopting that library.

View File

@@ -0,0 +1,3 @@
"""Authentication dependencies placeholder."""
# Add FastAPI dependencies (e.g., current_user) when auth is implemented.

View File

@@ -0,0 +1,3 @@
"""Authentication models placeholder."""
# Add ORM models (e.g., SQLAlchemy) when auth is implemented.

View File

@@ -0,0 +1,3 @@
"""Authentication permission placeholder."""
# Define scopes/roles when auth is implemented.

View File

@@ -0,0 +1,11 @@
"""Authentication router placeholder."""
from fastapi import APIRouter
router = APIRouter(prefix="/auth", tags=["auth"])
@router.get("/noop", include_in_schema=False)
def auth_not_implemented() -> dict:
"""Placeholder endpoint to keep router wired."""
return {"status": "not_implemented"}

View File

@@ -0,0 +1,3 @@
"""Authentication schemas placeholder."""
# Add Pydantic models for auth requests/responses when implemented.

View File

@@ -0,0 +1,3 @@
"""Authentication service placeholder."""
# Add token generation/verification logic here.