Installation
Last updated
Was this helpful?
Last updated
Was this helpful?
The module requires installation via composer
in order to pull in the dependencies for the module to work ,most notably the .
Install the module running composer require drupal/graphql:4.x-dev
.
Enable the GraphQL module in extensions.
Login and navigate to /admin/config/graphql
to create a new server.
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.
By installing the module with composer you will install also the necessary libraries and the .
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.