# Product Module

Manages the product catalog for BERNIE grocery delivery.

## Entities

- **Product**: Grocery items with name, slug, description, price, unit, nutritional info, tags, preparation instructions, ingredients, brand, discount

## API Endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/api/products` | List all active products |
| GET | `/api/products/trending` | Trending products |
| GET | `/api/products/search?q=` | Search products |
| GET | `/api/products/{slug}` | Get product by slug |
| POST | `/api/products` | Create product |
| PUT | `/api/products/{id}` | Update product |
| DELETE | `/api/products/{id}` | Delete product |

## Layers

- **Model**: `Modules\Product\Models\Product`
- **Repository**: `Modules\Product\Repositories\ProductRepository`
- **Interface**: `Modules\Product\Repositories\Interfaces\ProductRepositoryInterface`
- **Service**: `Modules\Product\Services\ProductService`
- **Controller**: `Modules\Product\Http\Controllers\ProductController`
