# Category Module

Manages product categories for BERNIE grocery delivery.

## Entities

- **Category**: name, slug, icon, description, image_url, sort_order, is_active

## API Endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/api/categories` | List all active categories |
| GET | `/api/categories/{slug}` | Get category by slug |
| POST | `/api/categories` | Create category |
| PUT | `/api/categories/{id}` | Update category |
| DELETE | `/api/categories/{id}` | Delete category |

## Layers

- **Model**: `Modules\Category\Models\Category`
- **Repository**: `Modules\Category\Repositories\CategoryRepository`
- **Interface**: `Modules\Category\Repositories\Interfaces\CategoryRepositoryInterface`
- **Service**: `Modules\Category\Services\CategoryService`
- **Controller**: `Modules\Category\Http\Controllers\CategoryController`
