Getting Started with GraphQL

Поділитися
Вставка
  • Опубліковано 8 лип 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 UA-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 👏

  • @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.

  • @jamisongriffith9198
    @jamisongriffith9198 2 роки тому +3

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

  • @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.
    🙏✌️🍁

  • @carusosiza154
    @carusosiza154 3 роки тому +1

    Brilliant, Chuck! Thankyou.

  • @amanywaheeb8783
    @amanywaheeb8783 2 роки тому

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

  • @RafaelCorreaGomes
    @RafaelCorreaGomes 2 роки тому +1

    That's awesome, thanks for sharing it!

  • @AmxCsifier
    @AmxCsifier 3 роки тому +1

    Very valuable video, thank you!!

  • @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.

  • @billblair3155
    @billblair3155 2 роки тому

    Excellent Chuck. Thx Very Much!

  • @IvoTsochev
    @IvoTsochev 2 роки тому

    Very useful, thanks mate!

  • @oswaldoolea2889
    @oswaldoolea2889 2 роки тому +1

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

  • @dan110024
    @dan110024 2 роки тому

    Damn. Best explanation of GraphQL.

  • @DKMRFCBrlz
    @DKMRFCBrlz 3 роки тому +1

    Nice tutorial!!

  • @orifromleadhive4643
    @orifromleadhive4643 2 роки тому

    Very helpful thanks!

  • @waqasyousuf8053
    @waqasyousuf8053 2 роки тому

    Excellent Teacher

  • @nathangrog8879
    @nathangrog8879 2 роки тому

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

  • @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

  • @sanjaygalami
    @sanjaygalami 3 роки тому +1

    Is it only about graphql or Apollo graphql stuff?

  • @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

  • @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.

  • @boffinschist1098
    @boffinschist1098 3 роки тому

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

  • @goodfylabs1975
    @goodfylabs1975 2 роки тому

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

  • @ZainQamar-FBASBSSEF
    @ZainQamar-FBASBSSEF 3 роки тому +1

    strongly type Schema love that joke

  • @HM-br3lj
    @HM-br3lj 3 роки тому

    needs an example to perform pagination.

  • @bmorsh
    @bmorsh 3 роки тому

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

  • @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.

  • @bradical8198
    @bradical8198 2 роки тому

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