Getting Started with GraphQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2024
  • In this video, Chuck will introduce GraphQL to app developers, as well as show you how to make GraphQL requests against Shopify stores. He’ll walk you through how to:
    - understand what GraphQL can be used for
    - install the Shopify GraphiQL app for developers
    - run simple queries to fetch information from stores
    - use mutations to write data to a store
    More resources:
    The GraphQL learning kit from our partner blog: bit.ly/31opKNB
    Make your first GraphQL request with our developer documentation: bit.ly/3gootKK
    Storefront API SDKs: bit.ly/2Eor6z9
    How to GraphQL: www.howtographql.com/
    Official GraphQL site: graphql.org/
    Contents:
    0:00 What is GraphQL?
    6:00 GraphQL tools
    13:45 GraphQL on Shopify
    28:48 Writing data with mutations
    --------------------------------
    Subscribe to our channel for more videos about developing and designing ecommerce stores, apps, and themes with Shopify » / shopifydevs
    Looking for more information about developing on Shopify check out www.developers.shopify.com and shopify.dev/
    Connect with us on Twitter » shopifydevs
    Launch your own online store by visiting Shopify and starting your free trial » bit.ly/VisitShopify
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 38

  • @1anre
    @1anre ปีที่แล้ว +3

    Watching this on 14th March, 2023 & I have to commend Chuck for demystifying this new API query concept - GraphQL, using minimal tech jargon to explain its advantage & resource efficiency benefits over REST APIs and immediately following up with a practical implementation example with the Shopify Admin API.
    Was worth my 35mins on TH-cam.

  • @ushanmilinda
    @ushanmilinda 3 หลายเดือนก่อน

    I keep coming back to this video when I need a refresher on GraphQL with Shopify, since I'm not a regular user. This is the best video by far that I've found. I only wish that you spent a bit more time on mutations since that seems tricky when there are multiple nodes and data types are involved. Thank you!

  • @maguilecutty
    @maguilecutty ปีที่แล้ว +5

    This is GREAT! Not only for shopify but also essential GQL learning. Thank you very much!

  • @siphillis
    @siphillis ปีที่แล้ว +2

    Not only a great Shopify tutorial, but also cleared up some of the awkwardness around GraphQL in general. Really, really solid.

  • @JacobLonroth
    @JacobLonroth 3 ปีที่แล้ว +3

    Great content Chuck! Super great structure and well explained 👏

  • @jeffb6291
    @jeffb6291 3 ปีที่แล้ว +2

    Wow how nice Chuck.
    Thank you for sharing your knowledge 🙏
    I believe last week I asked for something on graphQl and here it is.
    Great explanation
    Shopify developers channel helps a lot 👍
    Thank you to you all.
    🙏✌️🍁

  • @jamisongriffith9198
    @jamisongriffith9198 2 ปีที่แล้ว +3

    Excellent walkthrough, Chuck! Really liked your teaching style and would like to see more content from you in the future,

  • @AdamTillontheWeb
    @AdamTillontheWeb 3 ปีที่แล้ว

    Kudos, nice intro. I remember playing with this app when it first launched and putting it in the “later” bucket, but I wouldn’t mind playing again now.

  • @amanywaheeb8783
    @amanywaheeb8783 2 ปีที่แล้ว

    Very useful, informative, and easy-to-understand. Thanks so much

  • @carusosiza154
    @carusosiza154 3 ปีที่แล้ว +1

    Brilliant, Chuck! Thankyou.

  • @johnnydriesen7575
    @johnnydriesen7575 2 ปีที่แล้ว +1

    Watching this on March 12th 2022, and still a very valuable vid.
    Thanks for sharing your knowledge !

    • @1anre
      @1anre ปีที่แล้ว

      Watched on March 14th 2023 & the breakdown of what advantage & efficiency GraphQL gives over REST API is still invaluable.

  • @oswaldoolea2889
    @oswaldoolea2889 2 ปีที่แล้ว +1

    Beutifull tutorial on grahpql for newbies¡ Thanks. Finally some simple is better.

  • @AmxCsifier
    @AmxCsifier 3 ปีที่แล้ว +1

    Very valuable video, thank you!!

  • @billblair3155
    @billblair3155 2 ปีที่แล้ว

    Excellent Chuck. Thx Very Much!

  • @RafaelCorreaGomes
    @RafaelCorreaGomes 2 ปีที่แล้ว +1

    That's awesome, thanks for sharing it!

  • @dan110024
    @dan110024 2 ปีที่แล้ว

    Damn. Best explanation of GraphQL.

  • @IvoTsochev
    @IvoTsochev 2 ปีที่แล้ว

    Very useful, thanks mate!

  • @nathangrog8879
    @nathangrog8879 2 ปีที่แล้ว

    Wow! you are so passionate about graphql :P !! Thanks for tutorial its really great

  • @orifromleadhive4643
    @orifromleadhive4643 2 ปีที่แล้ว

    Very helpful thanks!

  • @waqasyousuf8053
    @waqasyousuf8053 2 ปีที่แล้ว

    Excellent Teacher

  • @DKMRFCBrlz
    @DKMRFCBrlz 3 ปีที่แล้ว +1

    Nice tutorial!!

  • @hashiromer7668
    @hashiromer7668 3 ปีที่แล้ว +6

    At 14:04, I think we can use Prettify to format the query

    • @davidt01
      @davidt01 2 ปีที่แล้ว +1

      I was almost yelling at the screen because he wasn't using that.

  • @niallryan209
    @niallryan209 3 ปีที่แล้ว +3

    Currently, it isn't really possible to build a shopify app using only GraphQL if your app does any modifications to the users' theme. I'd love to see support for GraphQL requests for modifying / managing assets and themes. It's a bit annoying to have to use a combination of GraphQL and rest.

  • @sunilkumar-gc8pc
    @sunilkumar-gc8pc 3 ปีที่แล้ว

    Hi , can you please share the link how to check the coupon exist or not in Shopify site using graphql

  • @sethhendrick2
    @sethhendrick2 3 ปีที่แล้ว

    Is there a REST version of this presentation? We're trying to enable product searches from an external site.

  • @nepd89
    @nepd89 2 ปีที่แล้ว

    Hello, is there a way of getting app events for all shops that ever installed my app? I'm trying to get my app history, something similar to the CSV file one can download on the Shopify Partner Apps section.

  • @allyc0des972
    @allyc0des972 2 ปีที่แล้ว +2

    I actually tried intergrating with this GraphQL service from C#. It was a painful experience. Mainly becuase we want to strongly type the objects going in/out. the productCreate mutation cannot take null values for IDs, so we need to have a separate set of models for create as for update. And to make it worse: getting mutation has the edges and nodes on the return model, which dont serialize well into the existing models. So we need three sets of models, one for updating, for creating and another for getting with edges and nodes in!
    I asked my boss if we could just switch back to using the standard API

  • @boffinschist1098
    @boffinschist1098 3 ปีที่แล้ว

    Does shopify-cli already have graphql server set up? In which file do we create the queries and mutations?

  • @sanjaygalami
    @sanjaygalami 3 ปีที่แล้ว +1

    Is it only about graphql or Apollo graphql stuff?

  • @ZainQamar-FBASBSSEF
    @ZainQamar-FBASBSSEF 3 ปีที่แล้ว +1

    strongly type Schema love that joke

  • @goodfylabs1975
    @goodfylabs1975 2 ปีที่แล้ว

    I would like to remove REACT part of shopify-cli scalfold ... anybody did ?

  • @SigKappel
    @SigKappel 3 ปีที่แล้ว

    Hey Chuck, looks like you're in Vancouver too 🙂
    Having trouble querying and mutating blog posts in Shopify. Are there any examples of how to do this?
    I'm attempting to build a function that unpublishes or deletes a blog post in response to a tag.

  • @bmorsh
    @bmorsh 3 ปีที่แล้ว

    Do a product update example, like remove the product from web sales channel please ..

  • @HM-br3lj
    @HM-br3lj 3 ปีที่แล้ว

    needs an example to perform pagination.

  • @bradical8198
    @bradical8198 2 ปีที่แล้ว

    Native javascript fetch works with graphql, no reason to use a library