Python Dictionary Project
Create Python virtual environment
py -3 -m venv venv
Install FastAPI pip install fastapi[all]
Start Uvicorn weserver
uvicorn app.main:app --reload
(application start running localhost:8000)
FastAPI basic Setups (main.py) code
" from fastapi import FastAPI app = FastAPI()
@app.get("/")
def read_root():
return {"Hello": "world akshay"}