Skip to content

Comments

feat: implement admin dashboard API endpoints#79

Merged
Cedarich merged 2 commits intoStayLitCodes:mainfrom
Xhristin3:feat/admin-api
Feb 21, 2026
Merged

feat: implement admin dashboard API endpoints#79
Cedarich merged 2 commits intoStayLitCodes:mainfrom
Xhristin3:feat/admin-api

Conversation

@Xhristin3
Copy link
Contributor

Add role-based admin system with endpoints for platform oversight
including user management, escrow listing, and system statistics.

  • Add UserRole enum with USER, ADMIN, SUPER_ADMIN
  • Create AdminGuard for role-based access control
  • Implement AdminModule with AdminController and AdminService
  • Add GET /admin/escrows with advanced filtering
  • Add GET /admin/users with pagination
  • Add GET /admin/stats for platform statistics
  • Add POST /admin/users/:id/suspend for user management
  • Include admin seed script for development
  • Add comprehensive e2e tests for admin endpoints"

closes #65

@Cedarich
Copy link
Contributor

Fix lint errors

@Xhristin3
Copy link
Contributor Author

@Cedarich done
please make the workflow automatic

@Cedarich
Copy link
Contributor

Please npm run lint and address lint errors.

thank you for the solid implementation

@Xhristin3
Copy link
Contributor Author

@Cedarich done.

@Cedarich Cedarich merged commit 95f1cce into StayLitCodes:main Feb 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Admin Dashboard API Endpoints

2 participants