Code Monkey home page Code Monkey logo

beatroute's Introduction

Beatroutes

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.

Setup

  1. Clone the repo onto your local machine.

  2. Make sure you have Node installed on your machine.

  3. Run npm install to ensure packages are properly installed.

  4. Enter the directory and run node app.js.

  5. Open your browser and visit localhost:8888

Screenshots

  1. Home page

Screen shot of home page

  1. Log in screen.

Screen shot of log in screen

  1. Select country.

Screen shot of country selection screen

  1. Playlist generated!

Successful playlist creation screen

Technologies Used

Discogs API

  • Used for looking up artists and tracks based on selected country.

Spotify API

  • Used to authenticate user log-in and create playlist based on results returned by Discogs country lookup.

Acknowledgements

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.

Known Issues

  • Playlists aren't always limited to 10 songs.

  • Doing multiple requests to the same country will generate identical playlists.

Future Additions

  • 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).

beatroute's People

Contributors

allbecauseyoutoldmeso avatar mghlm avatar alexjukes avatar kittysquee avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.