Posted in Back-End & Database, GraphQL

GraphQL Queries Part2

This in after previous blog post, lets see more usage of GQL queries Step1 In the previous blog post, we had structured our queries to return a hard coded response. In this post, we will assume we have two objects for “user” and “address” almost similar to a database structure like mysql and we have […]

Posted in Back-End & Database, Express, GraphQL

GraphQL Express JS Getting Started Part1

In this blog post we will start using graphql using expressjs. I have been working with REST API’s for a very long time so, these blog posts would be learning graphql but in context of rest api as well. To start of, do the following https://graphql.github.io/graphql-js/ https://graphql.github.io/graphql-js/running-an-express-graphql-server/ After the first step is done, you should […]

Posted in Back-End & Database, GraphQL

GraphQL Basic Concepts

In this blog we will try to understand the basic concepts of GraphQL. Make sure to read my previous blog as this is in continuation of that. Endpoint First basic thing to understand is that, GraphQL run on a single endpoint, as opposed to rest api’s have multiple rest api’s url. So all graphql queries, […]