Skip to content
프로젝트

francoborrelli/spotify-react-web-client

GitHub에서 보기

소개

A complete Spotify clone built with Typescript, React, React Redux, Spotify Web API, and Spotify Playback SDK. This web client replicates the core functionalities of Spotify, including music playback, search, playlists, and user authentication, delivering a seamless user experience.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+1
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Spotify Badge React Badge Typescript Badge Redux Badge

🎧 Spotify React Web Client

[!IMPORTANT] Spotify Playback requires users to authenticate with a valid Spotify Premium subscription.

gif

🚀 Features

⚡ Music Playback: Play songs in real-time using the Spotify Playback SDK.

⚡ Playback Controls: Play, pause, next, previous, shuffle, and repeat functionalities.

⚡ Music Browsing: Search and explore songs, artists, albums, and playlists.

⚡ Playlists Management: Create, edit, and delete personalized playlists.

⚡ Saved Playlists and Albums Access: View and play your saved playlists and albums.

⚡ Liked Songs: Mark tracks as "liked" and access a dedicated playlist for liked songs.

⚡ Playback Devices: Switch between different playback devices (desktop, mobile, smart speakers).

⚡ Follow/Unfollow Artists: Follow and unfollow artists to get updates on their new releases.

⚡ Artist and Album Pages: Dedicated pages for artists and albums, showcasing top songs, discography, and related artists.

🛠 Technologies Used

🎵 React: For building the user interface with reusable components.

🎵 React Redux: For global state management and smooth data flow across the app.

🎵 Vite: For the development server and production builds.

🎵 Spotify Web API: To fetch data like playlists, albums, and user information.

🎵 Spotify Playback SDK: For real-time music playback control within the web client.

📸 Screenshots

More in images folder.

Home Current devices New playlist Browse Profile Playlist

⚙️ Installation & Setup

To run this project locally, follow these steps:

  1. Clone this repository:

    git clone https://github.com/francoborrelli/spotify-react-web-client.git
    
  2. Navigate to the project directory:

    cd spotify-react-web-client
    
  3. Install dependencies:

    yarn install
    
  4. Set up your Spotify Developer account and create a new app to obtain your Client ID and Redirect URI. Add the redirect URI http://127.0.0.1:3000 in the Spotify Dashboard, then copy .env.dist to .env and fill in your values:

    cp .env.dist .env
    
    VITE_SPOTIFY_CLIENT_ID=<your id>
    VITE_SPOTIFY_REDIRECT_URL=http://127.0.0.1:3000
    

    Vite only exposes env vars prefixed with VITE_. The redirect URL must match the Dashboard entry exactly.

  5. Start the development server:

    yarn start
    
  6. Open your browser and navigate to http://127.0.0.1:3000.

🌐 2018 Version

There is also a 2018 version of this Spotify clone, which features the Spotify UI from that year. You can find the code for that version in the main-2018 branch.

Feel free to explore the older version and compare the features and functionality between the two versions.

🤝 Contributions

Contributions are welcome! If you have any suggestions or improvements, feel free to fork the repository, create a new branch, and submit a pull request.

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.

관련 프로젝트 살펴보기

불러오는 중…