steve-w
|
18af835645
|
Fix validation issues and test setup
|
2026-04-06 02:09:36 +00:00 |
|
Marcus A.
|
dd6b76e665
|
Polish API implementation\n\n- Add FastAPI metadata (title, version)\n- Use Field for validation (min_length, ge)\n- Add response model Config (from_attributes)\n- Strip name inputs\n- Better error messages\n- Tags for OpenAPI grouping\n\nOperation: shopping-list-api-2026-04-05\nWI4: Finalization and documentation
|
2026-04-05 23:45:38 +00:00 |
|
Marcus A.
|
b0ee2a2a5b
|
Implement core API endpoints (WI2)\n\n- Add full CRUD for Products (create, list, get, delete)\n- Add CRUD for Lists (create, list, get with items, delete)\n- Add List Items management (add, update quantity, delete, list)\n- Proper error handling with HTTPException\n- Use sqlite3 with row_factory for dict-like rows\n- Response models with Pydantic\n\nOperation: shopping-list-api-2026-04-05\nWI2: Implement core API endpoints
|
2026-04-05 23:32:19 +00:00 |
|
Marcus A.
|
8db5262f46
|
Initial commit: FastAPI scaffolding, SQLite schema, and basic models\n\n- Add main.py with DB initialization and Pydantic models\n- Add requirements.txt (fastapi, uvicorn, sqlalchemy, pydantic)\n- Update README with project description and setup\n\nOperation: shopping-list-api-2026-04-05\nWI1: Project setup and database design
|
2026-04-05 23:31:25 +00:00 |
|