Demo URL: https://spootify.vercel.app/
- Install dependencies:
$ yarn install
- Add
.env.local
file:
REACT_APP_BASE_URL=https://api.spotify.com/v1
REACT_APP_AUTH_URL=https://accounts.spotify.com/authorize
REACT_APP_REDIRECT_URL=http://localhost:3000/callback
REACT_APP_CLIENT_ID=<spotify_developer_client_id>
REACT_APP_CLIENT_SECRET=<spotify_developer_secret>
Visit Spotify documentation for more info
- Start server:
$ yarn start
- Visit Site:
http://localhost:3000
$ yarn test
- To test knowledge of consuming APIs and handling responses
- Loading state and knowing where and how to make multiple API calls efficiently
- 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)
- Integrate redux into the project and make API calls and access data through redux
- Add tests
- Add refresh token feature
- Add now playing feature
- E2E Testing using Cypress