REST vs GraphQL - What's the best kind of API?

preview_player
Показать описание
Should you build/ use a REST API or a GraphQL API? Can you only use GraphQL with React? Time for a detailed comparison!

----------

----------

• Follow @maxedapps and @academind_real on Twitter

See you in the videos!

----------

Рекомендации по теме
Комментарии
Автор

I'm taking your React course on Udemy right now, it's so great seeing you on so many platforms teaching and passing on your knowledge! I always find your tutorials helpful, easy to follow, and you convey concepts very succinctly.

acarvey
Автор

Like always. Magnificent simplicity in explaining stuff. Keep on !

przemysawkepinski
Автор

I appreciated how unbiased this comparison was. I think one major thing GraphQL has going for it is that is a standardized spec. There's a lot of variation in the quality of REST APIs.

jmrah
Автор

I had a job interview before 2 weeks ago. And I was asked if i know what a GraphQL is, well i didn't knew cause so far i've used only Rest APIs and never had to dive in into the GraphQL, but now thanks to this 17 minutes video, I can understand the concepts behind the GraphQL and for what is used for. And I would like to thank you! All of your videos are very well structured and explained in a way that everyone can understand. I own almost all of your courses on Udemy and I learn a lot from you. Your courses are very well focused and cover lots of topics that most of the instructors are considering as "not important enough". So keep up the good work!

Devillman
Автор

So we are somewhat back at sql in the front end 😁 Everything works in cycles...

TimothyBrake
Автор

Great explanation! I've never written an API in GraphQL but now I'm inclined to do so to try it out. Thank you!

gabecoelho
Автор

I really appreciate the precise pronunciation! Very easy to understand.

dveznik
Автор

Love this one. Thank you for the nice and short conclusion on what the difference is, between GraphQL and REST!
Greetings from Cologne!

waldemarenns
Автор

With this kind of videos from Max, huge course on the topic is on the way, I'll buy it even before he releases 🤣🤣🤣🤣.
Thanks bro, I like your teaching.

Greetings from Tanzania 🇹🇿

raymondmichael
Автор

Thanks for the video, I had no idea what GraphQL was now I have an intro and I think I'll be sticking with REST.

FangerZero
Автор

Thank you. Nice comparation. I'm still not convinced to use GraphQL atm.

lattelover
Автор

genuinely love you Max. you're the best! Currently taking your Flutter Udemy course and its first class as all your content. Keep up the great work!

harunthuo
Автор

In terms on fetching much data than needed, you can opt to use dto, convert a database entity into a simplified object to be presented on the frontend

centurion
Автор

A big difficulty I faced when going for GraphQL over REST is that the complexity/unpredictability of requests makes it very hard to optimize the handling of requests. I mean, if the structure of a request just happens to not play nicely with my database schema and I didn't catch this type of request manually, GraphQL might (and many times does) handle it very inefficiently.

ChumX
Автор

Someone who has really developed a REST api wouldn't say fields are not possible to manage using it, it's actually pretty simple by using the "fields" query param

BrayanMaykCastroPacheco
Автор

This was exactly what I needed. Thank you good sir.

Chaaos
Автор

Great explanation of the overall purpose of GraphQL and how it fits into an application. Heard about GraphQL the other day and wanted to know what it's about.

malangope
Автор

Please create udemy course for microservices

muthuhari
Автор

Happy Teachers day Max Bro..You are the only who teached me alot like Angular, Angular Material, Nodejs from Udemy....In Simply I want to say Thanks Max Love from India.

mdjasim
Автор

I think what you said in 6:17 might be wrong. Graphql does support GET method, it's not the most common but saying "Graphql only works with POST" is way off. So in case you want a graphql response to get cached you will have to use GET, since caching is not supported for POST method. Other then that I think the tutorial was pretty clear and helpful.

yanki