-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
BackendStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programgood first issueGood for newcomersGood for newcomers
Description
Description:
Add admin-only endpoints to the Dashboard controller: GET /dashboard/admin/stats (system-wide stats + monthly registration trend + newsletter stats) and GET /dashboard/admin/users (paginated user list with search). Both require admin role.
Acceptance Criteria:
-
GET /dashboard/admin/stats— returns user counts, monthly trend, newsletter stats -
GET /dashboard/admin/users— paginated, searchable user list - Both endpoints protected with
@Roles(UserRole.ADMIN)andRolesGuard - Search supports filtering by name or email
- Pagination with
pageandlimitquery params
File(s): backend/src/dashboard/dashboard.controller.ts, backend/src/dashboard/dashboard.service.ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BackendStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programgood first issueGood for newcomersGood for newcomers