Coder Social home page Coder Social logo

graphql-drupal's Introduction

Introduction

Build Status Code Coverage Code Quality

GraphQL for Drupal

This module lets you craft and expose a GraphQL schema for Drupal 8.

It is is built around https://github.com/webonyx/graphql-php. As such, it supports the full official GraphQL specification with all its features.

You can use this module as a foundation for building your own schema through custom code or you can use and extend the generated schema using the plugin architecture and the provided plugin implementations form the sub-module.

For ease of development, it includes the GraphiQL interface at/graphql/explorer.

Installation

This module requires composer for installation. To install, simply run composer require drupal/graphql.

Quickstart

To get a quick overview from the query part of GraphQL in action watch the following video's.

Headless Drupal with GraphQL from scratch - part 01 Headless Drupal with GraphQL from scratch - part 02

Example implementation

Check out https://github.com/fubhy/drupal-decoupled-app for a complete example of a fully decoupled React and GraphQL application. Feel free to use that repository as a starting point for your own decoupled application.

Documentation

Documentation is heavily worked on, but still far from complete. This is due to the vast amount of improvements and additional features we've added to the module recently. As we are finishing up the 3.x version of this module we will be re-doing the documentation and record a series of screencasts.

These blog posts provide additional information on how to use and extend the module as well as other other contributed modules supporting it:

Resources

Related projects

graphql-drupal's People

Contributors

fubhy avatar pmelab avatar blazeyo avatar fgm avatar pasqualle avatar xuxucode avatar leksat avatar weitzman avatar pavlosdan avatar clemens-tolboom avatar webflo avatar joaogarin avatar martinfrances107 avatar scubafly avatar dawehner avatar chindris avatar sebas5384 avatar clemenssahs avatar ohthehugemanatee avatar alesrebec avatar bnchdrff avatar lauriii avatar lennardwesterveld avatar lucasconstantino avatar nick-zh avatar paranojik avatar juliquiron avatar justinlevi avatar aguilarm avatar mtodor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.