Installation commands for FastAPI
Run these in the terminal of the project root folder
pip install fastapi
pip install fastapi "uvicorn[standard]"
Installation commands for Strawberry (for GraphQL)
pip install 'strawberry-graphql[debug-server]'
pip install 'strawberry-graphql[fastapi]'
Run command
Run this once the dependencies have been loaded
uvicorn main:app --reload
(main is the file name that contains the app)