/graphql-apollo-blog

An apollo version of the web blog built on relay and GraphQL

Primary LanguageRuby

An apollo version of the web blog built on relay and GraphQL

Simple setup to use new Graphql client: Apollo (https://github.com/apollostack/apollo-client) with Rails asset pipeline using webpack with a few helpers for dynamic react rendering. The relay version is available here https://github.com/gauravtiwari/relay-rails-blog

Check out the app/assets/javascripts folder

components: Contains all react components splitted in directories (same namespace as rails views)
components.js: components manifest

Features

Running

git clone git@github.com:gauravtiwari/apollo_on_rails.git
cd apollo_on_rails
bundle install
npm install
chmod 777 start
./start
# Or Alternatively
bundle exec foreman start