Ecoloop – Project Scopes (Summary)

1) Core Operations
- Customer onboarding, sites/locations, service agreements, materials catalog and units.
- Pickup lifecycle: request → schedule/assign → collection → facility intake → weigh ticket → completion.
- Inventory touchpoints via weigh lines; optional sorting/shipment later.

2) Pricing, Billing, and Payouts
- Org/customer price lists with buy/sell directions and effective pricing per unit.
- Automatic invoice generation from weigh tickets; payments tracking.
- Payouts to customers for buy-priced materials.

3) Bidding Marketplace
- Factories post scrap listings with estimated quantities and auction rules (open/sealed-ready).
- Recyclers place bids; min-increment and reserve enforced; invite-only or public.
- Award flow selects winner and creates a pickup order.

4) Users, Roles, and Portal
- Roles: owner, manager, driver, customer, auditor across organizations.
- Customer/driver portal endpoints for assignments, status changes, proofs.
- JWT auth (Djoser), Allauth for social sign-in (optional).

5) Compliance & Documents
- Upload and attach documents/photos/certificates to core records.
- Audit logs on key actions and state transitions.

6) Reporting & Analytics
- Leaderboards (benefit events), volume and revenue summaries (monthly/periodic).
- Filters by org, date range, status.

7) Multi-Org, Locale, and Config
- Multi-organization tenancy, currency codes (THB/USD, etc.), kg/lb units.
- ENV-based settings, Postgres database, media/static management.

8) Developer Experience
- Docker-compose for local dev; Tailwind for UI apps.
- Management commands: seed_ecoloop, ecoloop_auto_close_award.
- DRF viewsets + schema via drf-spectacular; router under /api.
