📁 Implementation Directory
backend/src/controllers/dashboardController.ts
🎯 Goal
Provide real-time system metrics.
📋 Requirements
- Aggregate active deliveries, online drivers, and total escrow volume.\n- Return metrics in a single optimized payload.\n- Cache results to prevent heavy DB load.
🔧 Technical Scope
- Node.js / Express
- TypeScript
- MongoDB / Mongoose
- Stellar Soroban RPC
🌿 Branch
git checkout -b feat/admin-dashboard-metrics
✅ 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/controllers/dashboardController.ts🎯 Goal
Provide real-time system metrics.
📋 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