Skip to content

prototypefund/pluragraph-api.pluragraph.de

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pluragraph API

A GraphQL API engine for Pluragraph.

Read up on GraphQL

To do next

Installation

Add this line to your application's Gemfile:

gem 'pgapi', path: '../api.pluragraph.de'
gem 'graphiql-rails'

And then execute:

$ bundle

visit http://pluragraph.dev/api/graphiql

Mount the engine in routes.rb

mount Pgapi::Engine => "/api"

Dont forget to restart rails

License

The gem is available as open source under the terms of the MIT License.