Overview
Build an exportable reports dashboard for admins to generate operational, payment, investment, repayment, KYC, and fleet summaries.
Problem
Admins need structured reports for decision-making, investor transparency, and operational tracking. A reports dashboard should make it easy to filter records and export useful summaries without manually querying the database.
Expected solution
Create a reports dashboard with:
- report categories: investments, repayments, wallet transactions, KYC, fleet, users
- date range filters
- status/type filters
- summary metric cards
- table previews
- CSV export support
- print-friendly layout or PDF-ready view if practical
- empty/loading/error states
Advanced requirements
- Keep export logic server-safe.
- Scope access to admins only.
- Avoid exporting sensitive fields unless intentionally included.
- Make report generation reusable across categories.
- Use pagination or streaming-safe patterns for large datasets where possible.
Files likely involved
- admin reports dashboard pages/components
- report API routes
- transaction/investment/user/fleet models
- CSV/export utilities
- table/filter components
- route guards
Acceptance criteria
- Admin can select report type and date range.
- Admin can preview report data in dashboard.
- Admin can export CSV for at least one major report type.
- Sensitive fields are excluded by default.
- Report APIs are admin-protected.
- Empty/loading/error states are handled.
npm run lint and npm run build pass.
Suggested labels
dashboard, reports, admin, export, backend, frontend, hard
Difficulty
Hard
Overview
Build an exportable reports dashboard for admins to generate operational, payment, investment, repayment, KYC, and fleet summaries.
Problem
Admins need structured reports for decision-making, investor transparency, and operational tracking. A reports dashboard should make it easy to filter records and export useful summaries without manually querying the database.
Expected solution
Create a reports dashboard with:
Advanced requirements
Files likely involved
Acceptance criteria
npm run lintandnpm run buildpass.Suggested labels
dashboard,reports,admin,export,backend,frontend,hardDifficulty
Hard