# FastAPI Learning
Simple project created to learn FastAPI by building small API examples.
## Tech Stack
* Python 3.13
* FastAPI
* Uvicorn
* Pydantic
* SQLAlchemy (SQLite)
* pytest
## Setup
```bash
python -m venv .venv
# Windows
.venv\Scripts\activate
pip install -r requirements.txt
```
## Run
```bash
.venv\Scripts\uvicorn app.main:app --reload --host 127.0.0.1 --port 3000
```
API documentation:
* http://127.0.0.1:3000/docs
* http://127.0.0.1:3000/redoc
Kill hanging processes:
```bash
Get-Process python | Stop-Process -Force
```
## Tests
```bash
.venv\Scripts\pytest tests\ -v
```
## Linting
```bash
ruff check . --fix
```