initial commit
Python Code Quality / python-code-quality (push) Successful in 9s
Python Test / python-test (push) Failing after 8s

This commit is contained in:
Brian Bjarke Jensen
2025-11-04 21:03:16 +01:00
parent 763c61a280
commit 54f658d093
12 changed files with 683 additions and 11 deletions
+18
View File
@@ -0,0 +1,18 @@
"""Baby Monitor Main Application"""
from fastapi import FastAPI
from fastapi.responses import PlainTextResponse
app = FastAPI()
@app.get("/")
def read_root() -> dict:
"""Root endpoint returning a welcome message."""
return {"message": "Hello World"}
@app.get("/health", response_class=PlainTextResponse)
def health_check() -> str:
"""Health check endpoint."""
return "OK"