A Spotify clone built using React and Styled Components that allows users to log in with their Spotify account and access various features like reading email, private playlists, and more.
Note: To take the complete advantage of this Spotify Clone you need to have Spotify Premium.
- Login with Spotify account.
- Access user information (email, private playlists, etc.).
- Play/Pause Music, Next and Previous
- Volume Slider
- Access to all your playlists
To run the application locally, follow these steps:
-
Clone the repository:
git clone https://github.com/AviralMehrotra/Spotify-Clone.git
-
Change into the project directory:
cd Spotify-Clone
-
Install dependencies:
npm install
-
Obtain your Spotify Client ID:
- Go to the Spotify Developer Dashboard: https://developer.spotify.com/dashboard/
- Create a new application to get your Client ID.
- Add
http://localhost:3000/
(or your production URL) as a Redirect URI in the Spotify Dashboard.
-
Configure Client ID:
- In the
Login.jsx
file, replaceclientId
with your Spotify Client ID.
- In the
-
Run the application:
npm start
-
Open your web browser and navigate to
http://localhost:3000/
to access the application.
- React
- Styled Components
- React Icons
- Axios
Contributions are welcome! If you find any issues or have improvements to suggest, please create an issue or submit a pull request.
- Fork the repository.
- Create your feature branch:
git checkout -b feature/my-new-feature
. - Commit your changes:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/my-new-feature
. - Submit a pull request.
This project is licensed under the MIT License.