Title: [Admin] Implement admin dashboard statistics endpoint
Tags: backend, admin, feature
Description:
Aggregated platform-wide stats for the admin dashboard.
Acceptance Criteria:
Files: src/routes/admin.routes.ts, src/controllers/admin.controller.ts, src/services/admin.service.ts
Title:
[Admin] Implement admin dashboard statistics endpointTags:
backend,admin,featureDescription:
Aggregated platform-wide stats for the admin dashboard.
Acceptance Criteria:
GET /admin/stats(admin only).{ totalUsers, activeUsers24h, totalMarkets, openMarkets, totalVolume, totalFeeCollected, treasuryBalance, totalPredictions, totalDisputes, pendingDisputes }.Files:
src/routes/admin.routes.ts,src/controllers/admin.controller.ts,src/services/admin.service.ts