File size: 207 Bytes
ecc962f
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from fastapi import FastAPI

# Initialize FastAPI app
fastapi_app = FastAPI()

# Create a simple FastAPI route
@fastapi_app.get("/fastapi")
def fastapi_hello():
    return {"message": "Hello from FastAPI!"}