punchcard-cms / punchcard

The Punchcard CMS
Apache License 2.0
31 stars 19 forks source link

GraphQL Endpoint #475

Open Snugug opened 8 years ago

Snugug commented 8 years ago

GraphQL is so hot right now (and actually will likely simplify the consumption of content from Punchcard

Notes Will need to use https://github.com/apollostack/apollo-server over the reference implementation due to Facebook's PATENTS rider

Feature: {{feature}}
  As a {{persona}}
  I want {{need}}
  So that {{rationale}}

  Scenario: {{scenario}}
    Given {{thing}}
     When {{action}}
     Then {{result}}

{{feature}}

joshblack commented 8 years ago

Apollo Server is actually built on Facebook's graphql-js, I'm pretty sure.

Example include

Snugug commented 8 years ago

Bah. I'm sure we'll be able to figure out the licensing

joshblack commented 8 years ago

Some interesting tools:

https://github.com/calebmer/postgraphql https://github.com/mickhansen/graphql-sequelize https://github.com/solidsnack/GraphpostgresQL

They might not work for this item, but are good to understand what can be done.

And a related CMS: https://github.com/relax/relax

Snugug commented 8 years ago

Pluggable APIs may be a good idea for this so we don't need to ship this w/Punchcard necessiarly and deal with weird licenses