Modern GraphQL Crash Course - 2022
Vložit
- čas přidán 5. 07. 2024
- This is a snippet of a full modern GraphQL course on Udemy. I hope you all enjoy and learn a ton!
Second Channel:
/ @laiture123
Udemy Courses (with discount):
www.udemy.com/course/modern-g...
Course Repo:
github.com/harblaith7/GraphQL...
Timeline:
0:00 - What is GraphQL
17:57 - Setting up a GraphQL Server
36:00 - Scalar Types
44:30 - Arrays
51:28 - Object Types
1:01:00 - Query with Variables
1:09:32 - Adding Another Object Type
1:20:15 - Relating Data
1:37:00 - Reorganizing Our Directory
1:46:30 - The Context Param
1:52:05 - Adding a Third Object Type
2:01:11 - Adding Filtering Data Logic
2:24:00 - Mutations!
2:27:00 - Adding Data
2:48:17 - Deleting Data
3:13:00 - Updating Data
Did anyone else just get emotional going through this tutorial like how easy it has become to get data and not just data, i mean data that is relevant to the current scenario. Also the way he gets excited really kept me going. Thank you sir!!
As an extreme newbie in GraphQL, I can say, by GOD this is one of the best, most easiest and well-explained videos out there on GraphQL, if not the best. Hands down!
You're a great teacher, Laith! Thanks so much for the hard work you put into these, they're incredibly helpful. I feel lucky to have found your channel!
I really appreciate the way you enlarge the UI and text size so that we can easily watch your video on mobile devices, even on a mobile phone. Thank you so much!
i finished it . and went to udemy for the full course. thank you
spent the whole day on a lot of tutorials. And finally, I got you. Thank you very much. Please keep uploading this types of quality video
Hey Laith ! Your tutorial is very nice and pretty clear! I do like the way you’re teaching and really appreciate for your contribution! Keep going!
This is an absolutely fantastic introduction to GraphQL! Very well paced and easy to follow.
by the way wonderful tutorial , first time a person make me realize what is graphql , you took very well , and make the audience learn in baby steps .
Thank you Laith, I'm gonna start studying GraphQL in a month or so and probably, with your udemy course, it will be much easier
I love this! Very simple and easy to understand, and code along. Thanks a lot! Keep up the good work.
One of the best teachers I've found on internet !!
Awesome tutorial. You also explain what is happening and best practices too.
Full learning package. Great work bro
Thank you so much Laith, you are really a great teacher. This course is the best I have ever seen with your amazing explanation method of every thing in graphql. Bravo and more success.
Such an insanely amazing course. Thnx buddy
Precise description and complete.
Well i usually love to watch your videos at 1.75x 😄
Very good! Thank you for creating this course -- and all your other course too! Hell...I'm heading over to Udemy to buy the full course. :)
I just saw your redux course I know for sure, you are an awesome teacher. Please do use visual tools to teach us. Its really helping us :-)
Purchased your course on Udemy. You are one of the best tutors who use the latest tools in the current market
Love your content and respect your hardwork and dedication ❤️
Thank you so much. Now I am confident on graphql with node.
This video makes my coading life easier in graphql means a lot man 🙏😍
You're the reason I get to learn, understand and become a great developer. I have a request, could you please make a tutorial on Webpack 5 and set a react project with Webpack manually for both dev and prod?
I am looking forward for this vid also
Just out of interest, why would you want to set it up manually when CRA, Next and Gatsby sort it for you?
Try
@@WillGains because some companies want it done from scratch
Loving this tutorial! Recommend for future videos to be just a tad more zoomed out. Maybe its just me though. Thanks for the content!
Thank you Laith , loving this tutorial!
Hi,
Thank you very much for this video, it is so helpful! I'm really looking forward to continuing to watch your videos and learning from you.
thanks a lot for the complete course on udemy . Please make more udemy courses .it is much affordable for many . Thanks again
3:26:11 Once again mate! Mind syntax! updateCategory: (parent, { id, input }, { db: { categories } }) => categories[categories.findIndex(c => c.id === id)] &&= { id, ...input } - as you may notice, if findIndex returns -1 the whole expression will give us undefined. Thankfully, we've got an operator &&= which only assigns a value once the left side isn't null or undefined. Meaning, we would assign a new object to the a corresponding index OR return undefined which would be null in the schema. It's a classic oneliner which definitely easier to comprehend and read.
What I really don't get.... is that why we need to supply all fields to update just one? GraphQL allows us to read just one field that's why it's great for but on the other hand when we update a field - we need to specify all fields. It's strange.
You r so awesome; I wish you have millions subscribers. One of the best CZcamsr channels in here;
I love your explanation. It is so easy to understand. Thank you
Thank you for this, very vivid explanations. God Bless you🙏
Nice bro! Congrats!
This is very helpful video and you have explained everything very clearly. Take love.
Hi Laith< thank you for the course, going to learn it soon)
this helped me a lot, thank you so much!
Thanks a lot, your video really helped me to understand graphQL
This tutorial was very helpful, thank you very much!
Thanks man, you are doing great work!!!
I've been seraching for graphql tutorials. The documents aren't helpful, their small dummy project is not enough for me to understand. The other tutorials are all outdated. And then I came across your video, you really give detailed explanations that are helpful, thank you so much
You are an amazing teacher! Than you, sir!
Thank you for this great introduction to Graphql. I liked it, but I am a little confused about the real advantage of Graphql over REST. I thought that the whole idea of Graphql is to provide a highly flexible querying language that saves the need of explicitly predefining a whole CRUD stack for each and every type (entity) in our data, thus avoiding the verbosity and inflexibility of REST endpoints. But it seems that we end up explicitly defining all our queries and mutations for each of our types anyway, even when all they need is plain CRUD operations, as opposed to mapping our data (the schema) to our presentation declaratively and let a default generic stack do most of the work.
I'd be curious to hear your thoughts on this matter, what is the advatage here over RESTful APIs and whether we really become more flexible or less verbose in this approach to querying data? Maybe there's a way to make these CRUD operations more generic and declarative?
I accidentally found your channel here I'm addicted to it 😂❤❤❤❤❤
Thank you so much for this!!
Great video. I bought your course on Udemy as support for this great work.
Solid video!
Awesome video, really helpful! Can you do a crash course for WunderGraph sometime?
Superb content! 😁👏
Brilliant and educational ! ... also multiple cursor 🙂
Thanks! This crash course is very helpful
thanks for this course i really fall in love with graphql because of you, this course can be much better if it was with typescript instead of js, thank you bro for all yours efforts
udemy course is in TS
Thank you for your amazing videos!!
Brilliant! Thx for sharing your knowledge. Would you do a fresh version with connecting and saving consisting data into PostgreSQL?
The full course has a section that does that
Thank you very much for the concise and excellent demo.
In 2:50:00, what is the exact reason we can't delete?
Excellent tutorial, Just a tip , it could have been more useful if you could also include the N+1 db queries issue in graphql and how to resolve that.
nice work start with basic and explain everything
thank you bro that was really helpful
Very well explained 👏
Thanks for the Udemy course 🙂
🤩 Nicee!!!!
Thanks for such a great video ✨✨
Thanks for this tutorial. Can you adding subtitles to video lectures in the Udemy course?
Dude stopped the video to attend to the cat ❣
Great content, big fan
thank you man. Realy!
thank you for your great work here
Question! Should I buy your course in udemy to learn graphQL properly, or is it enough to learn from your CZcams crash course?
Amazing! Thank you :)
Very good course, thank you ; )
how would you deal with graphql disadvantage like: caching (redis), rate limiting ?
Thanks, great and useful video
Definitely planning to get this one. You're a great instructor. Do you have any other topics planned too?
Udemy courses take so long to make so I want to focus on the CZcams channel for now, but it'll definitely won't be the last one
@@laithacademy Looking forward to it, I completely understand 😄
can you please tell me which vscode theme are you using ?
I really need that theme, I could not get those highlighter in my default vscode theme as shown in this tutorial in schema.js file
At 2:44:05 there was not any server related mistake when you were executing Add review mutation first time , it was you just forgot to execute the addition command because meanwhile you start writing th select query in the other window . so select query didnot work you thought that its server restarted but actually you forgot to execute the addreview mutation .
Hello
Thanks a lot for your time and all your efforts
Would you consider making a tutorial about GraphQL using Fastify and Mercurius ?
Thanks again
Have a nice coding day/night
Bought using your link to support u 👌
Thanks mate, I saw!
After Watching your video in Net Ninja about React Testing Library I am addicted to your Videos
Super thanks :)
Thank you so much sir
Hi is it possible to integrate GraphQL along with Node JS template engine like EJS/PUG. Because in REST we can create dynamic html files based on the incoming route and after receiving the request we process it and send out html using render( )
But in GraphQL since there is only one endpoint how to send out dynamic html files based on the incoming route or we can only send the JSON objects ?
I need to use GraphQL but with NODE + EJS - is this even possible ? or we can use it only with client side like React etc..
can you please give a simple example for this scenario ?
thx bro 1 day ago!!
How to use schema Directives in Apollo V4.
Can anybody explain to me how this will work through examples like role (Admin, user) to allow access to specific mutations/queries?
How can you provide the context that way ? I have to provide a function, and not in the constructor of the server but while starting the server...
even in Rest we can select what we want right(select name , image from products that's it)? instead of over fetching. it all delepnds on SQL queries right? 9:36
Are you planning on making a React Native tutorial?
thanks
Is there is ui for ecommerce in this course?
Hello everyone, around 2:50:27 Laith explains that we would not be able to delete anything unless we export a single object, can anyone explain this in more depth to me? I don't really understand the difference or what really changed. Thanks in advance.
@Laith Harb , I have taken one of your Nextjs course in udemy
While connecting a database getting this error. when i run the command
> npx prisma db push
Error: Migration engine error:
db error: ERROR: prepared statement "s0" does not exist
Best tutorial
please make next part like graphql middleware, protect multiple resolver or all resolver in a file.
Can you make a video on graphql with php...
On same content like this
thank you man
hooooo yes! Not event watching the video directly buying your udemy course! Hope its not your last udemy course :)
Thanks for the course. I’m interested in buying your Udemy course but the couple no longer works..
Hoping that you will include mongoDB connection in your udemy course
Question, the GraphQL looks like a black box for me. How do I get a list of all available tables inside the GraphQL? Also How do I list all fields in each table? I am using SQL and not sure how to find the data inside the GraphQL quickly.
35:58 wrote same code but getting error like this,
TypeError: AppoloServer is not a constructor
How to write logic ??i always feels confuse writing logic
Hey man, thanks for uploading this. one thing that bothered me in the video is the zooming (too zoom in), i think you went too far with the zoom. i believe 70% is normal. i hope you understand my point.
Thanks Anyways.
Is there any discount going on for the Udemy course? The discount on the link above is no longer working.
Out of discount codes this month. I’ll do it again next month
Any incoming content on microservices ? I really enjoy the Udemy course
That's great to hear! I would love to do a microservices course sometime in the future
2:12:33 -> with your logic if onSale is set to false it wont return products with onSale being set to false. because you only filter if onSale is set to true. Correct implementation should be if onSale !== undefined then filter ... product.onSale === filter.onSale. Justa small nitpick, otherwise great introduction, thanks