{"id":24836790,"url":"https://github.com/akhilub/music-analytics-dashboard","last_synced_at":"2025-10-14T11:31:39.217Z","repository":{"id":271010496,"uuid":"912139612","full_name":"akhilub/music-analytics-dashboard","owner":"akhilub","description":"A modern analytics dashboard for the Streamify music streaming service, built with Next.js 15 and React 19.","archived":true,"fork":false,"pushed_at":"2025-01-12T10:23:17.000Z","size":1337,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T03:42:39.589Z","etag":null,"topics":["aggrid","javascript","nextjs","reactjs","redux","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://music-analytics-dashboard.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akhilub.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-04T18:00:02.000Z","updated_at":"2025-01-14T14:11:11.000Z","dependencies_parsed_at":"2025-01-04T19:35:41.619Z","dependency_job_id":null,"html_url":"https://github.com/akhilub/music-analytics-dashboard","commit_stats":null,"previous_names":["akhilub/music-analytics-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akhilub/music-analytics-dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilub%2Fmusic-analytics-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilub%2Fmusic-analytics-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilub%2Fmusic-analytics-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilub%2Fmusic-analytics-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akhilub","download_url":"https://codeload.github.com/akhilub/music-analytics-dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilub%2Fmusic-analytics-dashboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019089,"owners_count":26086516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aggrid","javascript","nextjs","reactjs","redux","tailwindcss","typescript"],"created_at":"2025-01-31T05:43:49.709Z","updated_at":"2025-10-14T11:31:38.827Z","avatar_url":"https://github.com/akhilub.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streamify - Music Analytics Dashboard\n\nA modern analytics dashboard for the Streamify music streaming service, built with Next.js 15 and React 19.\n\n## Key Features\n\n- 📈 Comprehensive Analytics Dashboard\n  - Key Metrics Display (Total Users, Active Users, Total Streams,Growth Rates)\n  - Top Artist Information\n\n- 📊 Data Visualization\n  - User Growth Line Chart \n  - Revenue Distribution Pie Charts \n  - Top 5 Streamed Songs\n  \n- \u0026#xf007; Interactive Data Tables with AG Grid\n  - 📖 Sorting and Filtering functionalities for recent streams\n\n- Bonus Features:\n  - PWA for adaptablity to several devices and user focus for important tasks  \n  - Implemented sorting and filtering for data tables.\n  - Interactive charts, allowing hover and click actions for deeper insights.\n\n  \n- 🎨 Modern Design\n  - Responsive Layout\n  - Dark/Light Mode Support\n  - Clean UI Components with shadcn/ui\n  \n- 🚀 Performance Optimized\n  - Server-Side Rendering\n  - Partial Pre-rendering\n  - Interactive Charts and Tables\n\n## Tech Stack\n\n- Next.js 15\n- React 19\n- TypeScript\n- Tailwind CSS\n- shadcn/ui Components\n- AG Grid for Tables\n- Bun Package Manager\n\n## Thought Process\n\n1. **Component Design:**\n\n   - The project was broken down into modular components for better maintainability.\n   - Components were created for metrics, data visualizations, and the data table to separate concerns.\n\n2. **State Management:**\n\n   - Redux was used to manage the state of the sidebar and user information.\n   - The dashboard pulls state information to determine layout adjustments and display personalized content.\n\n3. **Responsiveness:**\n\n   - Tailwind CSS was used to ensure that the dashboard is responsive across different devices.\n   - Used ShadCN for better and responsive design.\n\n4. **Mock Data:**\n\n   - Mock data was used for charts and tables.\n\n5. **Performance Considerations:**\n\n   - Memoization and lazy loading were applied to improve performance where necessary.\n   - State changes and layout adjustments are optimized to prevent unnecessary re-renders.\n\n## Trade-offs\n- **Mock Data:** Instead of connecting to a real backend, mock data was used. But a delay was added to mimic an API fetch.\n- **Chart Interactivity:** The chart interactions are limited to hover and click events, but more advanced interactions like zoom or data export could be added in the future.\n- **Testing:** Limited unit testing was performed due to time constraints.\n\n## Getting Started\n\n### Prerequisites\n\n- Bun (Package Manager)\n- Node.js\n\n### Installation \u0026 Launch\n\n```bash\nbrew install bun\n\nbun i\n\nbun dev        ≈≈    npm run dev\n\nbun run build   ↔    npm run build\n```\n\nThis will start the development server and the project will be accessible in your browser, typically at \n`http://localhost:3000`\n\n### Project Structure\n\n| _directory (/src) | Purpose        |\n| ------------ | -------------- |\n| app          | Next.js Routes    |\n| components   | Reusable UI Components |\n| lib          | Utilities \u0026 Helpers    |\n| hooks        | Custom React Hooks |\n\n### Core Features\n\n## Navigation\n - Library management (Trending, Pending, Approved)\n - Artist tracking (Top Artists, Payments, Banned)\n - User analytics (Charts, Subscriptions, Quota, Streams)\n - Settings configuration\n\n## Testing\n- Framework: Vitest\n- React Testing Library\n- WIP in test branch\n\n### Requiremnts docs and System WireFrame Design\n\n\u003cimg width=\"1378\" alt=\"Requirements Image\" src=\"./public/AppDesign.png\"\u003e\n\n### Performance Report\n\n![Lighthouse Image](./public/lighthouse-report.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilub%2Fmusic-analytics-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhilub%2Fmusic-analytics-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilub%2Fmusic-analytics-dashboard/lists"}