Skip to content

Will956/graphql-spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL-Spotify

A simple GraphQL layer for Spotify API built with Apollo Server.

If you want to see the first version of it, https://github.com/Will956/graphql-spotify/tree/v1.0.

Goal

This project is not about implement all query for the Spotify API. It's about having fun with setup it thanks to Apollo 🤓.

Running the app

Before anything, you have to create a Spotify app (see https://beta.developer.spotify.com/dashboard/applications). Then, you have to fill the .env (and remove .example as well) with your credentials.

# install dependencies
npm install

# run the app
npm run dev

Use the app

Then you need to authenticate throught the Spotify API, simply execute that query

{
  login {
    url
  }
}

and copy/paste returned url to your browser to get logged in!

About

Simple GraphQL layer for Spotify API built with Apollo Server

Resources

Stars

Watchers

Forks

Packages

No packages published