Welcome to the Spotify Clone β a modern music streaming app built using React.js and styled with the utility-first Tailwind CSS framework! This app brings you a clean and responsive design with interactive elements that mimic the look and feel of the popular Spotify interface. Whether you're browsing through your favorite songs, exploring new playlists, or just listening to music, this clone is here to provide a seamless and enjoyable experience.
To run the project locally, follow these steps:
Clone the repository to your local machine.
git clone https://github.com/aurelioo29/Spotify-Clone.git
Install dependencies:
cd Spotify-Clone
npm install
Start the development server:
npm run dev
Open your browser and go to http://localhost:3000
to see the app in action!
Hereβs a breakdown of the folder structure:
Spotify-Clone/
βββ public/ # Public assets
β βββ ...
βββ src/ # Source code files
βββ App.css # Global CSS file
βββ App.jsx # Main App component
βββ index.css # Additional global CSS
βββ main.jsx # Entry point for React app
βββ assets/ # Static assets (e.g., images, data)
β βββ assets.js # Asset data file
βββ components/ # Reusable React components
β βββ CardItem.jsx # Component for song card
β βββ Display.jsx # Component for displaying song details
β βββ DisplayCard.jsx # Component for displaying individual song card
β βββ DisplayHome.jsx # Component for the home display
β βββ Navbar.jsx # Navbar component
β βββ Play.jsx # Play button component
β βββ Sidebar.jsx # Sidebar component for navigation
β βββ SongItem.jsx # Component for individual song item
βββ context/ # React context files for state management
βββ PlayContext.jsx # Context for managing the music player's state
βββ README.md # Project documentation
βββ eslint.config.js # ESLint configuration file
βββ index.html # Main HTML file
βββ package.json # NPM package file
βββ postcss.config.js # PostCSS configuration file
βββ tailwind.config.js # Tailwind CSS configuration file
βββ vite.config.js # Vite configuration file
public/
: Contains the static files, like the index.html
.src/
: Contains all the source code files including components, assets, and context for managing state.components/
: React components for rendering the UI elements (e.g., Navbar, Sidebar, SongItem).context/
: Stores the React context for managing the music player's state.assets/
: Contains any static assets or data used by the app.Contributions are always welcome! If you'd like to improve the project or add new features, please fork the repository and create a pull request. Hereβs how you can contribute:
git checkout -b feature-branch
).git commit -am 'Add new feature'
).git push origin feature-branch
).Thank you for checking out the Spotify Clone project! Enjoy the experience and feel free to explore the code. π§