17 lines
280 B
Python
17 lines
280 B
Python
from fastapi import FastAPI
|
|
|
|
app = FastAPI(
|
|
title="Hermes API",
|
|
version="0.1.0",
|
|
description="Backend von Olympus"
|
|
)
|
|
|
|
|
|
@app.get("/")
|
|
def root():
|
|
return {"service": "Hermes", "status": "running"}
|
|
|
|
|
|
@app.get("/health")
|
|
def health():
|
|
return {"status": "healthy"}
|