FastAPI theory and sandbox
- Clone the repo using Git:
git clone git@github.com:DLesmes/fast_api_hw.git
- Set python venv with the requirements.txt
cd fast_api_hw
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
- Run the server you have two options
uvicorn main:app --reload
python3 main.py
- Documentation
- https://www.openapis.org/
- GitHub - Redocly/redoc: 📘 OpenAPI/Swagger-generated API Reference Documentation
- API Documentation & Design Tools for Teams | Swagger
- Class Intro repo
- Class Intermediate repo
- Python types
- Query params str validations
- Field types - pydantic
- Cookie Params
- Header Params
- Security