Create a virtual environment, please. This is important. You need to do this otherwise I'll be mad
python -m venv .venvActivate the virtual environment
windows
./.venv/Scripts/activatemac/linux
. ./.venv/bin/activateInstall dependancies
If you are cool and using uv
uv syncIf you are not cool and have not installed uv
pip install -r requirements.txtRun it
fastapi dev main.pyTest it
curl -X POST http://localhost:8000/ -H "Content-Type: application/json" -d '{"message": "What is 2+2?"}'