Single page web app which enables a user to generate a Spotify playlist based on the country selection of their choice.
This app was built in five days using JavaScript and jQuery and has been written using Test Driven Development and SOLID principles.
-
Clone the repo onto your local machine.
-
Make sure you have Node installed on your machine.
-
Run
npm install
to ensure packages are properly installed. -
Enter the directory and run
node app.js
. -
Open your browser and visit
localhost:8888
- Home page
- Log in screen.
- Select country.
- Playlist generated!
- Used for looking up artists and tracks based on selected country.
- Used to authenticate user log-in and create playlist based on results returned by Discogs country lookup.
The Spotify single-screen authorisation functionality and some related styling elements were taken directly from the Spotify tutorial materials on this subject, and can be found here:
https://github.com/spotify/web-api-auth-examples.
-
Playlists aren't always limited to 10 songs.
-
Doing multiple requests to the same country will generate identical playlists.
-
Add date-range functionality to generate playlists from specific eras.
-
Add geolocation feature to allow user to generate playlist on current location.
-
Increase specificity of location to allow users to generate playlist based on city (Discogs doesn't provide this data - it would need to be found elsewhere).