/relay-on-rails

Relay + GraphQL + React on Rails

Primary LanguageRubyMIT LicenseMIT

README

Relay/GraphQL/React on Rails 4 starter-kit.

Goals

Make it easy to:

  • Start a Relay/GraphQL React project on Rails
  • Follow the official Facebook Relay/RelayJS tutorial

Resource

Instructions

  • npm install
  • bundle install
  • rails s

Access the sample app at http://localhost:3000/static_pages/board.html

Changing the schema

  • Modify app/graph files
  • rake graphql:update_schema_json
  • rake tmp:clear
  • rails s

MIT License