No commit activity in last 3 years
No release in over 3 years
This generator will put the graphql files input your app folder
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 3.2
 Project Readme

Rails GraphQL Generator

This project is not maintained anymore. You can use graphql-ruby's generators.

Code Climate

A GraphQL Relay schema created by reflection over a Rails models

Demo

Check out the example for a demo of Rails GraphQL Generator in action.

Usage

Add your Gemfile:

gem 'rails-graphql-generator', '~> 0.1.0'
bundle install

and then just run it!

rails g graphql:init

rails g graphql:create_all

# or

rails g model User name:string email:string
rake db:migrate
rails g graphql User

and start server http://localhost:3000/graphiql

Road Map

  • Add test
  • Add without relay option