FastAPI
All about FastAPI development
Install FastAPI in system
pip install fastapi uvicorn
Some courses to complete
Simple Example
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"Hello": "World"}
To run the application, assuming file name is main.py
type the following command 🎉
uvicorn main:app --reload
Last updated
Was this helpful?