Skip to content

stevenkaspar/graphql-cms

 
 

Repository files navigation

License NPM Build Status

alt tag

GraphQL CMS

This fork uses React 16.2.0 and all other latest packages as of (3/9/2018)

GraphQL CMS will build a fully-functional CMS by just using your printed GraphQL schema without any changes in your existed code or architecture.

Documentation

Example which you can run with one command on your local machine

Online DEMO (db will be overwritten every 24h)

GraphQL API for DEMO

Auto generating CMS based on your GraphQL schema [medium.com]

GraphQL CMS v2 is ready to use [medium.com]

Install

npm i -S graphql-auto-generating-cms
import GraphqlCMS from 'graphql-auto-generating-cms';
import 'graphql-auto-generating-cms/lib/styles.css';
...

And to head of your template add:

<link href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.8/semantic.css" rel="stylesheet">

Adding a Field Debugging

Issue Solution
Field not showing in workspace Add to GraphQL Schema for TYPE
Field showing in workspace, but disabled Add to GraphQL Mutation for TYPE_create or TYPE_update

Development

npm run dev

Demo

npm run example

Test

npm run test

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.3%
  • CSS 14.4%
  • HTML 0.3%