Spotless API Project
Experiment with the Spotify API using GraphQL in a Ruby environment!
1. Clone the repository
git clone https://github.com/DrianHillman/Spotless-API.git or
git clone email@example.com:DrianHillman/Spotless-API.git
2. Register a new app with Spotify
- Create a Spotify developer account
- Under My Apps, create a new application
- Create a new file titled
- Based on
application.example.yml, enter the variables for
SPOTIFY_CLIENT_SECRET:provided by your Spotify developer account
4. Manage your Seed Data
seeds.rb to manage your data pulled into the application
Update the first line to be sure that your Spotify user data is pulled into the application
user = RSpotify::User.find('YOUR_USERNAME_HERE')
*This step to change later
5. Run locally
rails sto start the rails server
🎉 Navigate to
http://localhost:3000/graphiql to view your data through GraphQL!
How do I use GraphQL?
Check out the GraphQL documentation here!
How do I use Graphiql?
This app uses the
graphiql-rails gem, check out its documentation here!