Look at the Python documentation to learn more.
Make sure to install the dependencies:
# Create a Virtual Environment
python3 -m venv venv
# Activate the Virtual Environment
source venv/bin/activate
# Install Dependencies
pip install -r requirements.txt
Start the development server on http://localhost:8000/docs
:
# fastapi
fastapi dev main.py