feat: initialize microservice architecture with auth, api, realtime, copernicus, ml, and console modules

This commit is contained in:
Giuseppe Raffa
2026-03-28 15:29:34 +01:00
commit bcfce32adb
89 changed files with 12025 additions and 0 deletions

19
ml/main.py Normal file
View File

@@ -0,0 +1,19 @@
from fastapi import FastAPI, Request, Response, Header
from fastapi.responses import HTMLResponse, JSONResponse
import time
app = FastAPI()
@app.get("/health")
def health():
return {
"status": "ok",
"service": "ml",
"version": "1.0.0",
"build_number": "1",
"version_state": "dev"
}
@app.get("/")
def root():
return {"message": "ML Service"}