# Roadmap

## Phase 0 – Foundation (Done)
- Docker-compose stack for frontend (Next.js), backend (Django + DRF), Celery, Postgres, Redis, MinIO.
- Commerce models, migrations, and API endpoints for products, categories, orders, delivery zones, override codes.
- Brand-aligned frontend shell with shared layout, hero, FAQ, and admin menu manager.

## Phase 1 – Ordering Experience (Next)
- **Backend**: finalize order serializer/view to compute totals, enforce inventory/max-per-order, handle override codes, delivery fees, and tap Stripe/Twilio stubs.
- **Frontend**: integrate checkout POST with success/error states, toasts, persisted customer info, refined quantity steppers.
- **Data**: seed initial menu categories, offerings, delivery zones via fixtures or admin UI.

## Phase 2 – Operations & CMS
- Admin portal: inventory adjustments, delivery zone editor, override code generator UI.
- Media management: image uploads (S3/MinIO), featured flags, product scheduling.
- Notifications: Pushbullet/email confirmations for new orders, low stock alerts.
- Analytics dashboard (orders per week, top products, ingredient usage) with nightly Celery aggregation.

## Phase 3 – CSB & Growth
- CSB subscription models (plans, seasonal windows, recurring billing).
- Customer accounts & order history portal.
- Marketing hooks (newsletter signup integration, referral codes, gift cards).
- Deployment automation (DigitalOcean App Platform or droplet scripts), monitoring, backups.

## Phase 4 – Intelligence & Delight
- Ingredient forecasting based on order history & CSB commitments.
- Custom pick-ticket iPad mode with offline caching.
- Loyalty program or CSA-style credit bank.
- Integration with bookkeeping/inventory (e.g., QuickBooks, Airtable) if desired.
