# Save The Food Module

Sustainability initiative - sells near-expiry products at deep discounts (up to 70% off) to combat food waste.

## Entities

- **SaveTheFoodProduct**: product_id (FK), discount_percentage, stock_remaining, expires_at, is_featured

## API Endpoints

| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/api/save-the-food` | Get full Save the Food page data (hero, stats, products) |

## Layers

- **Model**: `Modules\SaveTheFood\Models\SaveTheFoodProduct`
- **Repository**: `Modules\SaveTheFood\Repositories\SaveTheFoodRepository`
- **Interface**: `Modules\SaveTheFood\Repositories\Interfaces\SaveTheFoodRepositoryInterface`
- **Service**: `Modules\SaveTheFood\Services\SaveTheFoodService`
- **Controller**: `Modules\SaveTheFood\Http\Controllers\SaveTheFoodController`
