Skip to content

davidtom/spotifyzer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotifyzer-api

  • Rails API for Spotifyzer - an app that allows users to analyze their Spotify library and listening habits
  • Provides data and makes Spotify API calls for React front end (repo)
  • View live site here (please be patient while Heroku wakes up) down temporarily - please see demo below instead

Features

  • Authorizes users through Spotify's Authorization Code Flow, in tandem with front end
  • Requires authorization for all API requests
  • Utilizes Ruby's Thread class to avoid IO blocking when persisting a user's saved library data (which may take anywhere from a few seconds to a couple of minutes depending on its size)

Architecture

  • See app for application code
  • Utilizes the Spotify Web API to authorize users and access private data
    • In order to use this repo, you must register your app with Spotify and store the client id, secret key, redirect uri, etc. as environment variables (I recommend the Figaro gem)
  • PostreSQL database stores basic user info and library data

About

Rails API for Spotifyzer - an app that allows users to analyze their Spotify library and listening habits

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published