Drupal Graphql
graphql_4x_docs
graphql_4x_docs
  • Introduction
  • Getting started
    • Installation
    • Custom schemas
  • Data Producers
    • Data Producers
    • Built-in producers
    • Custom producers
    • Composing producers
  • Queries
    • Queries
    • Nodes
    • Entity references
    • Menus
    • Routes
  • Mutations
    • Mutations
  • Advanced
    • Split up schema
Powered by GitBook
On this page
  • Dependencies
  • Permissions

Was this helpful?

  1. Getting started

Installation

PreviousIntroductionNextCustom schemas

Last updated 5 years ago

Was this helpful?

The module requires installation via composerin order to pull in the dependencies for the module to work ,most notably the .

  1. Install the module running composer require drupal/graphql:4.x-dev.

  2. Enable the GraphQL module in extensions.

  3. Login and navigate to /admin/config/graphql to create a new server.

  4. At this point you can either start with the test schema provided by the module (see the Introduction section) or start right away making your own custom schema as we will describe in the next section.

Dependencies

By installing the module with composer you will install also the necessary libraries and the .

Permissions

At this point you can check the permissions added by the module in the permissions page at /admin/people/permissions. You can control who can perform arbitrary and persisted queries against graphql and also who can access the Voyager or the GraphiQL pages.

webonyx/graphql-php library
webonyx/graphql-php library
Typed Data module