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., (*1)
This relies on the GraphQL module built for SilverStripe, utilising the DataObject Scaffolding feature that
is provided., (*2)
Getting started:
Install the module with composer, be prepared to just remove or disable all the todo examples provided, (*3)
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., (*4)
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., (*5)
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., (*6)
How it works
...to be written..., (*7)
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