GitHunt
IA

IanLiuTW/python-fastapi-WeatherAPI

python-fastapi

Use poetry to install dependencies

poetry install

Use the following commands to start server

# Development mode with auto-reload
uvicorn main:app --reload

# Production mode with multiple workers on specified port
uvicorn main:app --workers 5 --port 3000

Test the API response

Check out the API docs (in Swagger UI)

Check out the API docs (in ReDoc UI)

IanLiuTW/python-fastapi-WeatherAPI | GitHunt