nethsix / relay-on-rails

Relay + GraphQL + React on Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Relay + GraphQL + React on Rails

License:MIT License


Languages

Language:Ruby 74.9%Language:HTML 16.0%Language:JavaScript 6.9%Language:CSS 2.2%