A modern, feature-rich music streaming platform built with React, TypeScript, and Vite. This platform provides a stunning user experience for browsing EDM tracks, artists, videos, and events with a sleek futuristic design.
git clone https://github.com/Thilinadilshan22/Music-Platform.git
cd Music-Platform
cd Front-end
npm install
npm run dev
http://localhost:5173In the Front-end directory, you can run:
npm run dev - Starts the development servernpm run build - Creates a production build in the build/ directorynpm run predeploy - Runs build before deploymentnpm run deploy - Deploys to GitHub PagesEDM Site/
βββ Front-end/
β βββ src/
β β βββ assets/ # Images, album art, and static assets
β β βββ components/ # Reusable UI components
β β β βββ artists/ # Artist-specific components
β β β βββ events/ # Event components
β β β βββ music/ # Music-related components
β β β βββ player/ # Music player components
β β β βββ shared/ # Shared components (Nav, Footer, etc.)
β β β βββ ui/ # Radix UI component wrappers
β β βββ contexts/ # React Context providers
β β β βββ MusicContext.tsx
β β β βββ ThemeContext.tsx
β β βββ data/ # Mock data and constants
β β βββ features/ # Feature-based modules
β β β βββ artists/ # Artists page
β β β βββ auth/ # Login/Signup pages
β β β βββ events/ # Events page
β β β βββ home/ # Home page
β β β βββ legal/ # Legal pages
β β β βββ music/ # Music page
β β β βββ videos/ # Videos page
β β βββ styles/ # Global styles and Tailwind config
β β βββ App.tsx # Main app component with routing
β β βββ main.tsx # App entry point
β βββ public/ # Public assets
β βββ build/ # Production build output
β βββ index.html # HTML template
β βββ package.json # Dependencies and scripts
β βββ tailwind.config.js # Tailwind configuration
β βββ vite.config.ts # Vite configuration
β βββ tsconfig.json # TypeScript configuration
βββ Back-end/ # Backend directory (placeholder)
βββ .github/
β βββ workflows/
β βββ deploy.yml # GitHub Actions deployment workflow
βββ DEPLOYMENT.md # Detailed deployment guide
βββ README.md # This file
This project is configured for deployment to GitHub Pages with automated CI/CD.
https://thilinadilshan22.github.io/Music-Platform/
Every push to the main branch automatically triggers a GitHub Actions workflow that:
cd Front-end
npm run deploy
For detailed deployment instructions, see DEPLOYMENT.md.
The app is configured to run at /Music-Platform/ base path for GitHub Pages deployment. This is set in vite.config.ts:
base: '/Music-Platform/',
For local development or different deployment targets, adjust this value accordingly.
The theme configuration can be found in tailwind.config.js with custom colors, animations, and gradients.
base path in vite.config.ts matches your repository namenode_modules and package-lock.jsonnpm install againISC License
Thilina Dilshan
β If you like this project, please give it a star on GitHub!