Picks is a web application that displays all your Spotify playlists. For the app to work effectively, the user should already have a Spotify account set up with desired playlists.
- Sign in to Spotify API: Securely authenticate with your Spotify account.
- View your Spotify playlists: See all your playlists, including playlist details and a preview of tracks.
- Search for playlists: Instantly filter your playlists by name.
- React JS
- Spotify API
- Node.js
- Clone the repository:
git clone https://github.com/yourusername/picks.git cd picks - Install dependencies:
npm install
- Start the development server:
npm start
- Open http://localhost:3000 in your browser.
- Click Sign in with Spotify and authorize the app.
- Browse your playlists and see a summary of your music.
- Use the search box to filter playlists by name.
- The backend authentication URL is set in the code. If you deploy your own backend, update this URL in
App.js. - You may need to register your app with Spotify and set the correct redirect URI in your Spotify Developer Dashboard.
src/
App.css
App.js
App.test.js
index.css
index.js
logo192.png
reportWebVitals.js
setupTests.js
components/
PlaylistCounter.js
HoursCounter.jsx
Filter.jsx
- Spotify login not working:
- Ensure your Spotify app credentials and redirect URI are set up correctly in the Spotify Developer Dashboard.
- Check that your backend authentication server is running and accessible.
- API errors or blank playlists:
- Make sure your access token is valid and has the required scopes.
- Check the browser console for error messages.
- App not starting:
- Ensure Node.js is installed and up to date.
- Run
npm installto ensure all dependencies are installed.
Contributions are welcome! To contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/your-feature) - Open a pull request
Please follow the existing code style and include tests where appropriate.
This project is licensed under the MIT License. See the LICENSE file for details.