GraphQL Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

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

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

    This is one of the best tutorial on youtube on graphql.

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

    This was the best resource i've found to date explaining graphql to a beginner. thank-you very much.

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

    Amazing tutorial. I was following a paid tutorial and kept running into issues, so I switched to this one. Thank you for saving me so much time! I also appreciated how you zoomed in to make sure the code is clearly visible. There are many tutorials with good content but that I end up not watching because the code is way too small.

  • @LongBoy.0
    @LongBoy.0 3 ปีที่แล้ว

    I'm addicted to your channel. Great work.

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

    wow honestly from all the programming youtubers, you have the best pedagogy :) please never stop teaching us :)

  • @Paras-Mahto
    @Paras-Mahto 3 ปีที่แล้ว

    Hey Laith, After watching GraphQL video you became one of my favorite TH-camr in IT industry. GREAT && FANTASTIC JOB. Love from INDIA.

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

    You are an amazing instructor. Very organized course with a nice depth and great breadth if you want to quickly grow up your knowledge on gql from scratch.

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

    I have spent 2 days on this course and got a lot out of it thank you very much

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

    If you could joom in the vscode window, it'll be great. Keep up making the crash courses buddy, they're very helpful.

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

    Laith! Can't tell you how much new technologies you introduced me after finishing college 😅 DevOps, testing, graphql, redis so much will be in queue. Thanks a lot

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

    THANK YOU SO MUCHHHHHH FOR THIS COURSE, I LOVEEDDD IT ❤️ XD
    The explaination was so easy to understand, Thank youuuuuu
    At least now I know my way around GraphQL haha, time to play with it more.

  • @hitendrapatil9991
    @hitendrapatil9991 ปีที่แล้ว

    awesome 🙌. Thanks for making this techii vdo's. Best vdo ever seen for grapgQL with all necessary concept has been covered.

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

    This tutorial saved me a lot of time. Thank you!

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

    this course is fuckin amazing man. props. ITS FINALLY CLICKING AFTER A FEW DAYS

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

    Hands down best tutorial on graphql

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

    fantastic tutorial. too many out there not going in depth like this. one hour in and learned a lot! will continue tmrw :)

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

    Please create more awesome tutorials like this 👍😁😁

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

    The intro is so cool, Thanks for the course

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

    Thank you! You are the best teacher on youtube!

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

    you are so underrated! and I love you

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

    love the intro 😂 great content would love to see more in the future :D

  • @เอกลักษณ์พงษ์ศรีหดุลชัย

    This is very clear and concise. It is my great plesant to spend time waching your tutorial.

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

    Thank you Laith for this precious crash course. Indeed, it gives a big picture of this new paradigm. I am just wondering if Appollo/Client querie are performed in an async way under the hood, or something else. Or should we have to put them in a useEffect... It would be nice to clarify this point

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

    Dude, very good video. Helped me a lot! And I saw you had another ones for typescript and testing I need those like a salt for me to become a better developer!! I appriciate a lot that its acctually recorded 2021 - so up to date. Also loved that you showed best practices on how to separate code so I dont have it in one file. If you could extend this tutorial with ORM for database and authentification I think that would help a lot of people to setup complete basic server for their apps. Meanwhile Ill have to figureout those myself. Again thanks a lot keep doing good job. Post some place where I can support you with money.

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

      Thank you for your response. I'll be making a few videos about ORMs and one will be with GraphQL. Also thank you for your generosity, but I am not accepting money at the moment

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

      @Finelf Ben awad has tutorials on graphql with orm and auth sessions, check him out

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

      @@EverAfterBreak2 yeah i know Ben

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

    Just awesome. Excellent instructor!

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

    hey, I have a question. I am getting an error if i tried using resolver Category: animals:{} which says Query.Category defined in resolvers, but not in schema. i have done it in different way which is category: (parent, args, ctx) =>
    categories.find((cat) => {
    cat.animals = animals.filter((animal) => animal.category == cat.id);
    return cat.slug === args.slug;
    }),
    but the way you did it looks much cleaner and i was wonder what could i be missing.
    Thanks for the help.

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

    Very well explained! I just subscribed!

  • @psyferinc.3573
    @psyferinc.3573 2 ปีที่แล้ว

    can we ask what the difference would be between react and nextjs ? in this case ?

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

    Saved me a lot of time. Thank you so much

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

    Hi, Awesome. Please check, this video is in the unlisted group playlist. Please Change it. Thanks for the awesome course

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

    Just subscribed, your way of explanation is Awesome sir👏👏 thanks much🙏🙏🙏

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

    I sincerely appreciate your generosity. Thank you!

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

    Thanks a lot bro 👌. I have a doubt. In mongodb we also have schema, and queries for crud operations. Do we need to use graphql for better querying? Or the one in mongodb is enough?

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

    love your videos mate

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

    Great tutorial! Just wondering, although the course is about 3 hours, on an average, how long did people take to finish this?

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

    You have excellent content and excellent way to teach i really like the way you do it!!
    Keep it up
    Just a tip: for parameters that you dont use inside your arrow functions in resolvers you can put a low dash (_), so if you dont use parent you put a low dash and if you dont use both first and second (parent and args) you can put a low dash to replace the first and double low dash to replace the second

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

    great course, just finished it! top quality! it would have been better if you did the server side with mongodb or some sort of db

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

    great tutorial. I'm wondering if the useQuery hook can take a dependency array or something so that the landing page component re-renders after adding an animal with useMutation. I'll have to go look it up.

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

      Turns out the solution (or at least a solution) is to use 'refetchQueries':
      -----
      addAnimal({
      variables: {
      image: "ostrich",
      category: "1",
      title: "This is a really cool ostrich",
      stock: 13,
      price: "32,333",
      description: ["long neck", "fast legs"],
      rating: 3.5,
      slug: "ostrich"
      },
      refetchQueries: [{ query: ANIMALS_QUERY }] // This will refetch the animals, including the ostrich
      })}>Add an Ostrich
      -----

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

    the best lessons which I ever saw

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

    Thanks so much for all the hard work! Great job!

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

    Great tutorial! Could you please extend this video for authentication/authorization?

  • @Marco-nf7ly
    @Marco-nf7ly 3 ปีที่แล้ว

    Great content. I have an interview about this. Will update with the outcome 😂

  • @psyferinc.3573
    @psyferinc.3573 2 ปีที่แล้ว

    when do you come to the reigon?

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

    Thank you so much :) Awesome course. It helped a lot.

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

    One useful tip: I guess it is better to write like this "server.listen({port: process.env.PORT || 4000}).then(({url}) => {//...})"
    This helps when you are deploying this server to production like heroku or Vercel

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

    Awesome video, but could you use a larger font for vscode next time?

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

    2:10 im dying 😂😂 this is great

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

    Awesome tutorial !!!! I am not thanking you because if I thank you that is too little for you. we want to more and more tutorial from you❤️

  • @Sergey-mr6be
    @Sergey-mr6be 2 ปีที่แล้ว

    Great tutorial! Thanks!

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

    keep going this is a good idea

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

    @laith you are amazing, like totally

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

      Aye thank you, glad you enjoy my stupid projects

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

    Great introduction

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

    For removeAnimal mutation, I tried to override the context.animals like this.. but it didn't work. Why so?
    context.animals = context.animals.filter(animal => animal.id !== args.id)

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

      that should work. imho... maybe try animals = context.animals.filter(animal => animal.id !== args.id) without context.animals at the beginning. thats how i wrote it but idk maybe it doesnt? this works for duplicates you want deleted also where as the other way (using findIndex) just removes the first match. this way is better i think

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

      i think context refers to the main hub of data but wont rewrite it. perhaps context.animals is just a reference. like i mentioned try -----> animals = context.animals.filter(animal => animal.id !== args.id)

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

      did you return context.animals after? did you already de-structure {animals} from the context argument? its probably the thing i mentioned above OR one of these two problems.

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

      context was passed as an argument to the resolver so you're modifying a copy of animals not the original animals. i.e you're changing the context itself not the animals array

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

      @@collins4359 heehee 420 blaze it bro

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

    kinda wish u taught this without a slug being the parameters/variables though tbh... cuz im havbing trouble pluggin in a regular variable with lets say an input box value.. can anyone help?

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

      i also think you should write the data BEFORE defining schemas. a few times you write the queries and schemas and then just match the specifications and types accordingly and write the correct data. seems a bit backwards... nonetheless an amazing tutorial. consider me a new subscriber!!!

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

    Thank you for your great tutorial.

  • @mr.hassaan7785
    @mr.hassaan7785 3 ปีที่แล้ว

    Great explanation

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

    Thank you, It helped a lot.

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

    very clean, thanks

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

    Thank you! The course is very good and well explained, and you are fun ahahahahaahaha

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

    Great Work!

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

    Thank you for this tutorial.

  • @АлександрБогданов-ф9з
    @АлександрБогданов-ф9з 2 ปีที่แล้ว

    Спасибо за урок

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

    Thank you. 🙏🏻

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

    Thank you for this tutorial :) Keep it up.. Subscriber++

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

    1:34:33 i just lose my braincells everytime I try to understand this code

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

    @1:25:15 lol

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

    love the video, my suggestion pls install prettier it is painful to watch...

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

    1:28:00 you forgot to cut fail

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

    Amazing

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

    1 dislike is from rest api

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

    Great

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

    If you ever go on udemy I would buy your courses bro!

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

      i might go a little in the future. You better be my first customer

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

      @@laithacademy great, sure I will be the first haha.

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

      Stay away from udemy. It will damage your brain. :)

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

      @@MaksymMinenko in what way?

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

    nice

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

    사랑해요

  • @АлМ-ы8ъ
    @АлМ-ы8ъ 2 ปีที่แล้ว

    May I know, how old are you, author? Sincerely, I`m person from Siberia )))

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

    i don't like how you removed in your remove animal resolver. lots of unnecessary code and steps to me. also doesn't account for possible duplicates. findIndex just returns the first match. why not return a filtered new set of animals without the ones passed in as arguments? nonetheless i learned about findIndex because of this tutorial! haha
    removeAnimal: (parent, {
    id
    }, {animals})=>{
    animals=animals.filter(anim=>anim.id!==id);
    return animals
    }

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

      also every time you run that mutation it will just delete one animal no matter wat... idk if thats best way to write that mutation tbh

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

    Amazon really slacking on their exotic pet market game

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

      Yes, that's why I'll offer aminazon to them for 25M

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

    alt+shift+F

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

    The video is generally good , but I guess you are not aJavascript developer ? I mean you get stuck on some very basic language structure on 3 lines of code ?

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

    You also do not know such people who came to learn how graphql works, but do not know how find and splice work?))

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

      u need to take a step back if you don't know how splice or find works. no offense. but you are rushing your learning.... learn the fundamentals of JS first

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

      @@BobbyBundlez this was a sarcasm sir )

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

      @@antonkrasov yeah lol ok phew. tbh man i bet you there are people out there doing that. ive seen people learn react before learning what a frickin array is LOL

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

    dude called a chameleon a chalamander. lmfaooo this is not pokemon. u mean charmander? LOL

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

      lol, was wondering when someone gonna catch that

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

      @@laithacademy amazing tutorial my man. U legit gave me more worth this week than WEEKS of tutorials on graphql and Apollo. Thank you.

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

    Thank you. 🙏🏻