Refactoring code for modular approach

This commit is contained in:
2025-09-11 20:59:40 +02:00
parent fca389cff4
commit 900229d452
17 changed files with 850 additions and 125 deletions

View File

@@ -206,7 +206,7 @@ product_service = ProductService()
### Step 2: Refactor Router
```python
# products.py
# product.py
from product_service import product_service
@router.post("/products", response_model=ProductResponse)