fix docker build missing readme

This commit is contained in:
2025-05-30 20:00:49 +01:00
parent 37f9102d80
commit 8ecb700316
2 changed files with 12 additions and 28 deletions

View File

@@ -5,39 +5,17 @@ FastAPI backend for the CodeTutor coding interview preparation application.
## Setup
```bash
# Install dependencies
pip install -e ".[dev]"
# Run migrations
alembic upgrade head
# Load content data
python scripts/load_data.py
# Start development server
uvicorn src.main:app --reload
```
## API Endpoints
## Development
- `GET /api/questions` - List questions with filters
- `GET /api/questions/{slug}` - Question detail
- `GET /api/categories` - List categories
- `GET /api/patterns` - List patterns
- `GET /api/patterns/{slug}` - Pattern detail
- `GET /api/stats` - Aggregate statistics
- `GET /api/health` - Health check
```bash
uvicorn src.main:app --reload
```
## Testing
```bash
pytest
```
## Code Quality
```bash
ruff check .
ruff format --check .
mypy src/
```