Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some practical use cases of GraphQL? When should one choose GraphQL over REST? [closed]

Tags:

graphql

As I am interested in the concept of graphql I want to understand the benefits of graphql and when to use it?

like image 518
rat Avatar asked Sep 06 '25 03:09

rat


1 Answers

There are many excellent online resources on this subject, for example https://philsturgeon.uk/api/2017/01/24/graphql-vs-rest-overview/

Main points from this article:

  1. REST and GraphQL are totally different
  2. GraphQL isn't a magic bullet, nor is it "better"
  3. You can definitely use both at the same time
  4. GraphQL is dope if used for the right thing
like image 106
rmuller Avatar answered Sep 08 '25 22:09

rmuller