Skip to content

Enhance DashboardController with Full Dashboard API Support - #8

Open
Ahmed-Aseel wants to merge 8 commits into
mainfrom
Dashboard
Open

Enhance DashboardController with Full Dashboard API Support#8
Ahmed-Aseel wants to merge 8 commits into
mainfrom
Dashboard

Conversation

@Ahmed-Aseel

@Ahmed-Aseel Ahmed-Aseel commented Aug 2, 2025

Copy link
Copy Markdown
Contributor

This merge includes multiple updates to support full functionality of the Real Estate Admin Dashboard.

✅ What's Included
📊 Dashboard Data APIs
GET /api/dashboard/stats – Returns summary stats (users, revenue, etc.)

GET /api/dashboard/revenue – Returns revenue data for charts

GET /api/dashboard/salesbreakdown – Returns sales breakdown by type

⏳ Pending Requests
GET /api/dashboard/pendingrequests – Fetch all pending property requests

PUT /api/dashboard/pendingrequests/{id}/approve – Approve a specific request

PUT /api/dashboard/pendingrequests/{id}/reject – Reject a specific request

💸 Recent Transactions
GET /api/dashboard/recenttransactions – Lists recent renting transactions

🏆 Top Properties
GET /api/dashboard/topproperties – Lists top-rated properties

♻️ Refactoring & Enhancements
Repositories and services

Introduced clean and concise DTOs for dashboard projections

Added proper error handling for approve/reject actions

@Ahmed-Aseel Ahmed-Aseel closed this Aug 2, 2025
@Ahmed-Aseel Ahmed-Aseel reopened this Aug 2, 2025
@Ahmed-Aseel Ahmed-Aseel changed the title Integrate Full Dashboard Components with Backend APIs Enhance DashboardController with Full Dashboard API Support Aug 2, 2025
@Ahmed-Aseel Ahmed-Aseel added the enhancement New feature or request label Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants