ย
- To test knowledge of consuming APIs and handling responses
- Loading state and knowing where and how to make multiple API calls efficiently
ย
- Add your Spotify client ID, secret, and refresh token to a
.env
file in root using the environment variablesREACT_APP_SPOTIFY_CLIENT_ID
REACT_APP_SPOTIFY_CLIENT_SECRET
REACT_APP_SPOTIFY_REFRESH_TOKEN
ย
- Fetch and display Released This Week songs
- Use the API path
new-releases
- Use the API path
- Fetch and display Featured Playlists
- Use the API path
featured-playlists
- Use the API path
- Fetch and display Browse genres
- Use the API path
categories
- Use the API path
- Loading state/UI (optional, current UX is already clean)
ย
- Taking a look at the Spotify API documentation
- Do you resolve each API request one after the other or in parallel?
- Where do you make the API requests?
- How much logic do you offload out of the UI components?
ย
- UI/UX for all elements, including previews (mobile responsive)
ย