Initial SFERA platform baseline
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,16 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from fastapi import FastAPI
|
||||
|
||||
|
||||
app = FastAPI(title="SFERA Worker", version="0.1.0")
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
async def health() -> dict[str, str]:
|
||||
return {"status": "ok", "service": "sfera-worker"}
|
||||
|
||||
|
||||
@app.get("/api/health")
|
||||
async def api_health() -> dict[str, str]:
|
||||
return {"status": "ok", "service": "sfera-worker"}
|
||||
Reference in New Issue
Block a user