Introduction to GraphQL

· Adrian Ancona Novelo · Nov. 24, 2021, 3:05 p.m.
Summary
GraphQL advertises itself as a query language for APIs. To understand what this means, let’s compare it with REST. In REST, we usually have endpoints that give us information about a resource, for example: GET /user/1 could return something like: 1 2 3 4 5 { "id": 1, "name": "Jose", "phone": "999-888-7777" } We have multiple endpoints we can use to get different information about different resources. If we need an endpoint that contains information from different resources, we sometimes c...
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →