How koolkishan/react-spotify-clone works
Project type and purpose
• This is a single-page React front-end application bootstrapped with Create React App.
• It acts as a Spotify client: handling user login, displaying playlists and current track info, and controlling playback via the Spotify Web API.
File structure
• Top-level:
• public/ – static HTML/CSS/manifest.
• src/ – application source.
• package.json – dependencies and scripts.
• src/:
• index.js + index.css – entry point.
• App.jsx – root component.
• components/ – UI building blocks (Navbar, Sidebar, Body, CurrentTrack, PlayerControls, Playlists, Login, Footer, Volume, Spotify wrapper).
• utils/ – Context provider (StateProvider.jsx), Reducer.js, Constants.js for action types.
• No separate backend service: all network calls go to Spotify API from the front end.
README
• Confirms Create React App defaults.
Detail
• Context/Reducer flow in detail.
• Don’t omit the utils folder as it holds critical state logic.