- The example demonstrates how to implement data validation in FastAPI.
- The article of this repository https://blog.stackpuz.com/implement-data-validation-in-fastapi
- To find more resources, please visit https://stackpuz.com
- Python 3.10
- Clone this repository
git clone https://github.com/stackpuz/Example-Validation-FastAPI
- Activate virtual environment and install packages.
pip install -r requirements.txt
- Run project
uvicorn app.main:app
- Navigate to http://localhost:8000