📁 Implementation Directory
backend/src/services/poolingService.ts
🎯 Goal
Optimize routes by grouping nearby deliveries for a single driver.
📋 Requirements
- Cluster pending deliveries based on pickup and drop-off proximity.\n- Assign the pooled deliveries to a single driver.\n- Calculate the optimal route sequence.
🔧 Technical Scope
- Node.js / Express
- TypeScript
- MongoDB / Mongoose
- Stellar Soroban RPC
🌿 Branch
git checkout -b feat/delivery-pooling-algorithm
✅ Acceptance Criteria
📌 PR Requirements
- ⚠️ Assignment required before starting — comment on this issue to request assignment.
- PR must comply fully with the CONTRIBUTING.md.
- AI Agent submissions are DISALLOWED and will be closed without review.
- No Inline Mock Objects or Hardcoded Values usage for integration.
📁 Implementation Directory
backend/src/services/poolingService.ts🎯 Goal
Optimize routes by grouping nearby deliveries for a single driver.
📋 Requirements
🔧 Technical Scope
🌿 Branch
✅ Acceptance Criteria
.envcredentials to enable implementation with real-life data./api/v1/...).Closes #[issue_id]with a work done summary.📌 PR Requirements