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
v0.1.0
|
2026-04-05 23:45:38 +00:00 |
|
Marcus A.
|
08633862d7
|
Update README with API reference and manual test instructions\n\nOperation: shopping-list-api-2026-04-05\nWI3: Testing and validation (complete)
|
2026-04-05 23:45:22 +00:00 |
|
Marcus A.
|
d55a84f83f
|
Add pytest test suite for Shopping List API\n\nTest coverage:\n- Root endpoint\n- Product CRUD\n- List CRUD\n- List items flow (add, update, delete, cascade)\n\nUse: pytest test_main.py\n\nOperation: shopping-list-api-2026-04-05\nWI3: Testing and validation
|
2026-04-05 23:45:12 +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 |
|
|
|
8421db833a
|
Initial commit
|
2026-04-05 23:30:32 +00:00 |
|