flamerohr/silverstripe-graphql-react-boilerplate

Help get started with GraphQL and React in SilverStripe by providing helpers and a standard build to get you hitting the ground running

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 2

Open Issues: 0

Language:JavaScript

Type:silverstripe-module

dev-master 2017-10-08 20:26 UTC

README

Help get started with GraphQL and React in SilverStripe by providing helpers and a standard build to get you hitting the ground running.

This relies on the GraphQL module built for SilverStripe, utilising the DataObject Scaffolding feature that is provided.

Getting started:

Install the module with composer, be prepared to just remove or disable all the todo examples provided

composer require flamerohr/silverstripe-graphql-react-boilerplate

You'll then need to install node (version 6 or later) and yarn, please search for how and come back after.

Note before use

This module presents a way to create a single page app within a section of your website. It can be your entire website including the root index but for the purposes of demonstration, this keeps things more simple.

It's important to note that this is designed to be cherry picked apart, to choose the parts that you need quickly and easily to get started.

How it works

...to be written...

Roadmap

  • Create Reducer for todos
  • Hook GraphQL queries/mutations to store results to redux
  • Forms for create/edit
  • Proper list for Todo items
  • Improve documentation