nxtgauge-backend-rust/crates
Ashwin Kumar d900c361d8 Add reviews, coupons, discounts, pricing packages, and reports handlers
- handlers/reviews.rs: admin CRUD for /api/admin/reviews (list, create, patch status, delete)
- handlers/coupons.rs: admin CRUD for /api/admin/coupons and /api/admin/discounts
- handlers/pricing.rs: admin CRUD for /api/admin/tracecoin-packages + /api/admin/reports/{users,revenue}
- handlers/dashboard.rs: replace all hardcoded fake data with real DB queries (registrations per day, revenue per week, live KPIs including pending approvals and total revenue)
- Migrations: extend reviews table (nullable FKs + admin fields), add coupons.title/role_keys, create discounts table
- gateway: route new admin paths to users service

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 18:09:50 +02:00
..
auth chore: checkpoint current workspace changes 2026-03-22 15:55:29 +01:00
cache chore: checkpoint current workspace changes 2026-03-22 15:55:29 +01:00
contracts feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
db Add reviews, coupons, discounts, pricing packages, and reports handlers 2026-04-02 18:09:50 +02:00
email feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
storage feat(backend): enforce profile approvals and complete migration approval flows 2026-03-19 00:30:23 +01:00