Producer dashboard
Authenticated producers manage beats, view analytics, sales, and account settings from /dashboard/*.
Pages
/dashboard— overview/dashboard/beats— manage published and draft beats/dashboard/upload-beat— upload flow (audio + cover + metadata)/dashboard/edit-beat/:id— edit existing beat/dashboard/analytics— plays and engagement/dashboard/sales— purchase history/dashboard/messages— conversations/dashboard/profile,/dashboard/settings— account/dashboard/platform-settings— admin-only platform config
Upload flow
- Producer uploads audio and cover via
POST /api/beats/upload - Metadata and licenses configured in the dashboard UI
- Beat published with
POST /api/beats/:id/publish - Files stored in R2 (production) or local Railway storage (legacy dev)
Auth & access
middleware/auth.ts— protects dashboard routes client-sidemiddleware/platform-admin.ts— admin-only routes- Layout:
layouts/dashboard.vuewithDashboardSidebar
Relevant API
GET /api/users/me/beats— producer's beatsGET /api/users/me/analytics— analytics dataGET /api/users/me/sales— sales listPUT /api/beats/:id— update metadataDELETE /api/beats/:id— remove beat