How to create a new schema in GraphQL

In order to access data from your own content types you need to create an access point which is based on a schema. A schema defines a hierarchy of types with fields that are populated from your backend data stores. The schema also specifies exactly which queries and mutations are available for clients to execute. The first step that is recommended, is to create a custom module in Drupal like you would normally do. [Read More]

Installation of GraphQL

If you wish to start a new Drupal project with GraphQL or add it to the existing one I would wholeheartedly recommend using Acquia CMS Starter Kit that is specifically designed for the headless approach. There are fewer options in this CMS (e.g. no theming options) so that you can dedicate as much time as possible to the headless option. Acquia CMS is intended to preconfigure Drupal to serve structured, RESTful content to mobile apps, smart displays, frontend driven websites, etc. [Read More]

Drupal GraphQL Overview

GraphQL is an open-source language for APIs that allows us to query and manipulate data. GraphQL uses one exported endpoint to retrieve structured data, just the way a client asked for. Since GraphQL has the ability to get the data from separate sources and combine them in a single response, we can conclude that GraphQL is very versitile and isn’t tide to any specific storage engine or database. GraphQL had its beginnings in 2012, but the first release was in 2015. [Read More]