Shopify / storefront-api-examples

Example custom storefront applications built on Shopify's Storefront API
https://help.shopify.com/api/storefront-api
MIT License
1.12k stars 329 forks source link

Adding a new vanilla graphql client example #96

Closed jmwind closed 5 years ago

jmwind commented 5 years ago

This is a follow-up to a conversation on Twitter about making a simpler vanilla example of calling the storefront graphql APIs. I had the same problem getting started a couple of years ago and decided to add one to our example repo.

This was inspired by the gist contributed by @kellyvaugh but augmented to show a variables query and make it easier to run without much configuration. See the readme.