Giter Site home page Giter Site logo

graphql-drupal's Introduction

GraphQL for Drupal

Build Status

This module generates and exposes a GraphQL schema for Drupal 8 entities, and allows you to expose your own custom schema in a consistent way and with minimal effort.

It is probably the easiest way to build headless Drupal sites using the popular React / Relay couple for the front-end, and on top of the traditional fast Drupal site building for the content modeling and management.

Features

Built-in schema

By default, the module exposes all content and configuration entities as a Relay-compliant schema making the whole Drupal entity reference graph model available to clients: entities, ids and references.

It provides a fully data-based process, which does not trigger the theme system, and includes full cacheability metadata for low overhead.

Developer experience

The module is meant as a basis for custom development rather than pure site building. As such, at this point it only exposes entity identifiers and labels, leaving it up to you as a developer to choose whether/how to expose fields and non-entity data. To help you with this task, it provides base objects you only need to extend to define your own schema.

For ease of development, it includes the GraphiQL in-browser IDE, already configured for Drupal in authenticated mode.

Resources

graphql-drupal's People

Contributors

fubhy avatar fgm avatar dawehner avatar ohthehugemanatee avatar webflo avatar

Watchers

Nida Ismail Shah 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.