GraphQL with Ruby on Rails

Gokul
5 min readJan 1, 2023

What is GraphQL?

GraphQL is a query language for your API. Facebook made it a replacement for REST APIs, which are usually used to get information from servers. In a GraphQL API, the client specifies the data it needs in a query.

The server then returns the requested data, which can be more efficient than a REST API because the server is not returning more data than the client needs. GraphQL lets the client say how the data it needs should look, so the server can send back precisely what the client asked for.

--

--

Gokul

Consultant | Freelancer | Ruby on Rails | ReactJS