A full-stack Spotify clone that integrates with the official Spotify Web API for real data, real OAuth login, and a clean UI.
Built using React, Node.js, and Chakra UI for a modern and responsive user experience.
- 🔑 Spotify OAuth login using your real Spotify account.
- 🎶 Fetch and display real user data from Spotify Web API.
- 📃 View playlists, top tracks, recently played, and more.
- 🔍 Search for songs, artists, or albums using the Spotify API.
- 💡 Responsive design built with Chakra UI.
- 🧪 Full-stack architecture powered by React (frontend) and Node.js (backend).
| Layer | Technology Used |
|---|---|
| Frontend | React, Chakra UI |
| Backend | Node.js |
| API | Spotify Web API |
| Auth | Spotify OAuth 2.0 |
git clone https://github.com/your-username/spotify-clone.git
cd spotify-clonecd client
npm installcd server
npm installCreate .env files in both client and server directories as needed.
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
REDIRECT_URI=http://localhost:8888/callback
FRONTEND_URI=http://localhost:3000🔐 Get your Spotify credentials from the Spotify Developer Dashboard.
cd server
npm startcd client
npm startNow open http://localhost:3000 in your browser.
This project does not include automated tests but supports manual validation through full Spotify OAuth flow and API responses.
- Learn how to integrate third-party APIs (Spotify) in a full-stack app.
- Understand OAuth login flow and token management.
- Build real-world music dashboards and interfaces.