Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gauravtiwari/graphql-apollo-blog
An apollo version of the web blog built on relay and GraphQL
https://github.com/gauravtiwari/graphql-apollo-blog
Last synced: 18 days ago
JSON representation
An apollo version of the web blog built on relay and GraphQL
- Host: GitHub
- URL: https://github.com/gauravtiwari/graphql-apollo-blog
- Owner: gauravtiwari
- Created: 2016-04-14T11:30:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-18T02:03:46.000Z (over 8 years ago)
- Last Synced: 2024-11-17T15:55:54.363Z (about 1 month ago)
- Language: Ruby
- Homepage: https://apollo-rails.herokuapp.com
- Size: 25.2 MB
- Stars: 19
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/gauravtiwari/relay-rails-blog)
Check out the `app/assets/javascripts` folder
```bash
components: Contains all react components splitted in directories (same namespace as rails views)
components.js: components manifest
```
## Features
* React with ES6 syntax
* Graph Server built on Rails using: `graphql-ruby` gem
* Graphql client: Apollo (https://github.com/apollostack/apollo-client)
* Babel transpiler
* NPM support## Running
```bash
git clone [email protected]:gauravtiwari/apollo_on_rails.git
cd apollo_on_rails
bundle install
npm install
chmod 777 start
./start
# Or Alternatively
bundle exec foreman start
```