fastAPi code example
Example 1: start fast api server
uvicorn main:app --reload
Example 2: fastapi
pip install fastapi
pip install uvicorn # ASGI server
pip install starlette # lightweight ASGI framework/toolkit
pip install pydantic # Data validation and type annotations
# OR
pip install fastapi uvicorn starlette pydantic