My GraphQL learning points
GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data.GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015. https://graphql.org/ GraphQL is a query language for an API, and a server-side runtime for executing queries by using a type system we define for our data. GraphQL isn't tied to any specific database or storage engine and is ins tead backed by our existing code and data. Once a GraphQL service is running (typically at a URL on a web service), it can receive GraphQL queries to validate and execute. A received query is first checked to ensure it only refers to the types and fields defined, then runs the provided functions to produce a result. GraphQL Request: { me { name } } GraphQL Response: { "me": { "name": "Ravi Kumar Pisupati" } } REST Vs GraphQL: 1) In REST, the endpoint you call is the identi...