How to fetch data from a GraphQL service See a demo how to to consume a GraphQL service with vanilla JavaScript: http://countries-graphql-vanilla-js.surge.sh/ You can read the details in the related post Setup npm install Local server npm run serve Build npm run build Resources A collective list of public GraphQL APIs Public GraphQL API for information about countries GraphQL - Current Working Draft