FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
Install FastAPI with all optional dependencies, including uvicorn that is the web server.
pip install "fastapi[all]"
Run the code
uvicorn src.main:app --reload
Using --reload
enable run the code automatically after each change.
http://127.0.0.1:8000/docs