chore: initial project scaffold and gitignore

This commit is contained in:
2026-04-03 07:33:32 +00:00
commit 3e3acbd13d
41 changed files with 3658 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
from fastapi.testclient import TestClient
from app.core.config import get_settings
from app.main import app
def test_healthcheck() -> None:
client = TestClient(app)
response = client.get("/health")
assert response.status_code == 200
assert response.json() == {"status": "ok"}
def test_docs_are_exposed() -> None:
client = TestClient(app)
response = client.get("/docs")
assert response.status_code == 200
def test_settings_default_origin() -> None:
settings = get_settings()
assert settings.allowed_origins == ["http://localhost:3000"]