This React project uses the spotify API with other wrapper libraries to fetch spotify data. The app uses the data to search and play tracks.
For more information about this app in depth: Docs Demos
- Search and play tracks by title or artist *** User must be a premium Spotify user to be able to play songs ***
- Create, unfollow, display, add to and play a user's playlists *** Spotify API does not have an option to delete a playlist, thus the app uses unfollow to mimic the behavior ***
- Remove tracks from a playlist
- JavaScript
- HTML
- CSS, Flexbox
- React
- Spotify API
- spotify-web-api-node - Spotify wrapper library
- react-spotify-web-playback - Spotify Player library
- Login - directs user to log in through Spotify- redirects to Dashboard after successfully logging in
- Dashboard - the center component
- Track - individual song - option to add to a designated playlist, option to add/remove from user's Liked Songs
- Player - returns a SpotifyPlayer from react-spotify-web-playback that plays given track uris
- YourLibrary - display's user's playlists and liked songs
- LeftSideBar - list of user's playlists, playlist creation, user's liked songs
- All components are functional components
- Hooks: useState, useEffect, useContext, useReducer, useCallback, useRef
- Wrapper Library: https://www.npmjs.com/package/spotify-web-api-node
- SpotifyPlayer: https://www.npmjs.com/package/react-spotify-web-playback
- Spotify Api: https://developer.spotify.com/documentation/web-api/