10 lines
134 B
Python
10 lines
134 B
Python
|
|
# main.py
|
|
|
|
from fastapi import FastAPI
|
|
|
|
app = FastAPI()
|
|
|
|
@app.get("/")
|
|
async def read_root():
|
|
return {"message": "Hello, World!"} |