This demonstrates how to build a GraphQL server which fetches data from an external API (Spotify), see german blog post or english blog post
Use the Live Demo as a playground for graphql queries.
For running this example locally, you must register your own application at spotify and adapt the [./.env.example] file.
Install any node.js >= 8, with support for async/await.
Run npm install.
npm start to start the graphql server, then open http://localhost:4000/
npm run watch to start the graphql server which automatically restarts when any sources were changed (driven by nodemon)
npm test
npm run printSchema