GraphQL

Resolving nested queries in GraphQL

Resolving nested queries in GraphQL

  • December 8, 2020

When creating a GraphQL server with relational data, we want to return the data in a hierarchical format with those relationships in a single query. After all, that is where GraphQL comes in handy, right? Let us look into how we can do this using nested queries in GraphQL. This...

Creating a GraphQL API with Apollo Server

Creating a GraphQL API with Apollo Server

  • December 2, 2020

One of the many complaints about the GraphQL ecosystem is that there is a lot of indirection around what packages to use to create a GraphQL application. Even after selecting one, there is a lot of boilerplate code that one must create to make a GraphQL server work. While that...

GraphQL Basics: Types, Queries, Mutations, and Schema

GraphQL Basics: Types, Queries, Mutations, and Schema

  • July 15, 2020

Once you get a grasp of what GraphQL is, and why it is important, you also realize that it is a different design process. And before diving into the implementation, it is important that we understand the GraphQL basics, the various terminologies that come with it. If you are just...

Why GraphQL?

Why GraphQL?

  • June 2, 2020

Developing APIs for the web has never been an easy task for developers. REST has been the defacto standard for designing web APIs for the last decade. Considering REST’s wild popularity, the first question that pops into anyone’s head when they start reading about GraphQL is: Why GraphQL? Why do...

How React, Relay, and GraphQL fit together

How React, Relay, and GraphQL fit together

  • March 21, 2018

If you are a javascript developer, chances are you would have heard about React, Relay, and GraphQL recently. And if you are a react developer who has been happily using redux for a while now, the very first question that comes to mind is why another set of technologies? Why should I...

Hello GraphQL using Express

Hello GraphQL using Express

  • June 9, 2017

GraphQL is a query language and a runtime for data querying over an API. It is something that you put in between your front-end application and a backend data service. The first question that comes across in people’s mind is that we already have REST, what problem can then GraphQL...