Files
vue01/backend/main.py
Bernhard Radermacher (imuthes) 38111fd594 initial
2025-08-09 13:45:52 +02:00

14 lines
217 B
Python

from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}
@app.get("/hello/{name}")
async def say_hello(name: str):
return {"message": f"Hello {name}"}