• Stars
    star
    310
  • Rank 134,521 (Top 3 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Decoupled Drupal demo application based on React, GraphQL and Apollo including server-side rendering.

Decoupled Drupal with GraphQL and React

Prerequisites

Usage

First, you need to clone this repository.

git clone [email protected]:drupal-graphql/drupal-decoupled-app.git

Then, you need to build the images

docker-compose build

Then, start the containers:

docker-compose up -d

Once started, connect to the cli container of Drupal and install Drupal.

docker-compose exec cli bash
composer install
drush si config_installer -y --account-name=admin --account-pass=admin

Now you can create some content (basic page or article) within Drupal at http://drupal-varnish.drupal-decoupled-app.docker.amazee.io

Navigating to http://drupal-decoupled-app.docker.amazee.io should present you with a paginated list of articles and by navigation to the path of one of the nodes (basic page or article) you just created, you should see a simple teaser of that node.

License

This project is licensed under the MIT license, Copyright (c) 2016 Sebastian Siemssen. For more information see LICENSE.md.