{"repo":"apollographql/spotify-showcase","free":true,"listed":false,"github":"https://github.com/apollographql/spotify-showcase","clone":"git clone https://github.com/apollographql/spotify-showcase.git","description":"A Spotify clone that showcases the Apollo GraphQL platform.","language":"TypeScript","stars":154,"topics":["apollo-client","apollo-graphql","apollo-server","graphql"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"React + Apollo Spotify Showcase Architecture The overall API architecture is made up of two GraphQL servers, one exposing subscription/mutation functionality and the other exposing query functionality. Both GraphQL servers use the Spotify REST API as their datasource, but we are hosting the subscription server on dedicated infrastructure (Railway) and the other on serverless functions (Netlify). The Apollo Router routes incoming traffic from the client application and integrates with GraphOS to receive schema updates and report usage metrics. \\ Note : We are using only the Spotify REST API as our datasource for demonstration purposes. The subscriptions subgraph implements a polling mechanism that we host on a dedicated infrastructure while the \"query\" subgraph is hosted on serverless infrastructure\\ Getting started What do you want to do next with this demo app? I want to play around with the public version of the demo 1. Visit the public Apollo Explorer instance to interact with the graph (No GraphOS account required) - Query the graph ( Spotify account required ) - OAuth workflow with be initiated from Apollo Explorer to login to our Spotify account to run any operation - Try having your Spotify app playing on your phone or desktop and then run this mutation - View the graph's schema I want to re-create this demo in my GraphOS account Note : To create graphs, you must have the Org Administrator or Graph Administrator role for your GraphOS organization. 1. Clone this repo. 2","default_branch":null,"files":null,"tree":[],"storefront":"/r/apollographql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apollographql/spotify-showcase/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}