oasis-api / app.py
Nicolas Pierson
πŸŽ‰ Create the fastapi project structure
ec29e1a unverified
raw
history blame contribute delete
264 Bytes
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}
@app.get("/health")
async def health():
return {"status": "healthy"}
@app.get("/status")
async def status():
return {"status": "running"}