Skip to content

Repository files navigation

soundify

Create a Spotify playlist from a tracklist on BBC Sounds.

Cloning the repo

  1. Create a Spotify developer account.

  2. Create a .env file in the root directory with the following variables:

VariableDescription
PORTPort to run the server on
STATESee the Spotify docs for the authorisation code flow. You supply a value for state, which is included in your user authorisation request to the Spotify API. The value is returned back to you and you can compare it as a security check against cross-site request forgery.
CLIENT_IDSee the Spotify docs for the authorisation code flow. This identifies you Spotify developer application.
CLIENT_SECRETSee the Spotify docs for the authorisation code flow. This is the key you use to authorise your requests to the Spotify API.
  1. Create a .env file in the /client directory with a variable named REACT_APP_SERVER_PORT. The React app is set up to proxy requests to relative URLs it doesn't recognise to the server side. This tells the proxy which port your server is running on.

TODO

  • Randomise state for Spotify authorisation
  • Implement refreshing of access token
  • Add indicator to show when user has connected to Spotify successfully
  • Show user's name when connected
  • Add proper link to Spotfy playlist (including playlist image)
  • Handle playlist already existing properly
  • Improve UI
  • Add info section explaining app purpose

About

Create a Spotify playlist from a tracklist on BBC Sounds.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages