|
1
|
from fastapi import FastAPI |
|
2
|
|
|
3
|
from app.settings import Settings |
|
4
|
|
|
5
|
settings = Settings() |
|
6
|
app = FastAPI(title="Valuation Engine", version="0.1.0") |
|
7
|
|
|
8
|
|
|
9
|
@app.get("/health") |
|
10
|
def health() -> dict[str, str]: |
|
11
|
return {"status": "ok", "service": settings.service_name} |