gauravtiwari / Relay Rails Blog
A graphql, relay and standard rails application powered demo weblog. We are using Graphql server and relay for our react component data needs.
Stars: ✭ 140
Programming Languages
ruby
36898 projects - #4 most used programming language
Projects that are alternatives of or similar to Relay Rails Blog
Graphql Ruby
Ruby implementation of GraphQL
Stars: ✭ 4,931 (+3422.14%)
Mutual labels: graphql, relay, rails
React Transmit
Relay-inspired library based on Promises instead of GraphQL.
Stars: ✭ 1,335 (+853.57%)
Mutual labels: graphql, relay
Graphql Relay Js
A library to help construct a graphql-js server supporting react-relay.
Stars: ✭ 1,331 (+850.71%)
Mutual labels: graphql, relay
Vue Relay
🖖 🔛 🗂 A framework for building GraphQL-driven Vue.js applications.
Stars: ✭ 105 (-25%)
Mutual labels: graphql, relay
Tkframework
react + relay + redux + saga + graphql + webpack
Stars: ✭ 83 (-40.71%)
Mutual labels: graphql, relay
Graphjin
GraphJin - Build APIs in 5 minutes with GraphQL. An instant GraphQL to SQL compiler.
Stars: ✭ 1,264 (+802.86%)
Mutual labels: graphql, rails
Relay Northwind App
A complex React, Relay, GraphQL demo app. Online demo:
Stars: ✭ 104 (-25.71%)
Mutual labels: graphql, relay
Magiql
🌐 💫 Simple and powerful GraphQL Client, love child of react-query ❤️ relay
Stars: ✭ 45 (-67.86%)
Mutual labels: graphql, relay
Hackatalk
TalkTalk renewal. Open source chat app built-in expo managed work flow
Stars: ✭ 123 (-12.14%)
Mutual labels: graphql, relay
Relay Example
[READONLY] 💝 Examples of common Relay patterns used in real-world applications. This repository is automatically exported from https://github.com/adeira/universe via Shipit
Stars: ✭ 126 (-10%)
Mutual labels: graphql, relay
Rpg Boilerplate
Relay (React), Postgres, and Graphile (GraphQL): A Modern Frontend and API Boilerplate
Stars: ✭ 62 (-55.71%)
Mutual labels: graphql, relay
Graphql Query Test Mock
Easily mock GraphQL queries in your Relay Modern / Apollo / any-other-GraphQL-client tests.
Stars: ✭ 49 (-65%)
Mutual labels: graphql, relay
Chaskiq
A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp, etc ...
Stars: ✭ 1,263 (+802.14%)
Mutual labels: graphql, rails
Graphql Rails Generators
Graphql Rails Scaffold™. Automatically generate GraphQL types from your rails models.
Stars: ✭ 47 (-66.43%)
Mutual labels: graphql, rails
Graphql devise
GraphQL interface on top devise_token_auth
Stars: ✭ 100 (-28.57%)
Mutual labels: graphql, rails
Graphbrainz
A fully-featured GraphQL interface for the MusicBrainz API.
Stars: ✭ 130 (-7.14%)
Mutual labels: graphql, relay
Relay Fullstack
☝️🏃 Modern Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS
Stars: ✭ 986 (+604.29%)
Mutual labels: graphql, relay
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-72.14%)
Mutual labels: graphql, rails
Graphql Live Query
Realtime GraphQL Live Queries with JavaScript
Stars: ✭ 112 (-20%)
Mutual labels: graphql, relay
Demo blog application powered by Rails, react, graphql and Relay.
This blog is an exploration exercise to understand two new technologies - GraphQL and Relay. We are using standard rails application together with webpack for handling front-end dependencies.
Status
Application supports reading and creating data from and on server using GraphQL.
Tutorial:
- Introduction: https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-getting-started-955a49d251de
- Part1: https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-creating-types-and-schema-b3f9b232ccfc#.6micmekh2
- Part2: https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-first-relay-powered-react-component-cb3f9ee95eca#.ssisfzsm0
- Part3: https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-dynamic-component-rendering-2be4e208ef92#.gvw5kevg1
- Part4 https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-authentication-and-authorisation-f7c07ebb47b3#.2y1h14x2p
-
Part5 - Integrating Webpack with
react-on-rails
https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-moving-to-webpack-9c6a420b4eea#.60z7xg1j0 - Final - Wrap up https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-wrap-up-500c67522cd2#.gt0b65fa7
Current features
- List posts
- List comments of the posts
- Infinite Scroll - posts and comments
- Show author info, votes and comments count
- Mutations to create comments and votes
- Edit and Update comments
- Create and Delete posts
- Add a react native app https://github.com/gauravtiwari/graphql-blog-mobile
Demo Links
Resources
- Facebook Relay: Official relay docs
- GraphQL: Official GraphQL spec
- graphql-ruby & graphql-relay-ruby: For defining GraphQL schema and Relay implementation in Ruby GraphQL classes, and getting Rails to speak GraphQL.
-
Webpack
: Module loader
TODOs
- Explore Relay subscriptions to hook it with ActionCable http://graphql.org/blog/subscriptions-in-graphql-and-relay/
Running locally
To run the application, please just clone the repo and run it like so:
git clone [email protected]:gauravtiwari/relay-rails-blog.git
cd relay-rails-blog
bundle install
npm install
./start (from terminal). If you get permission error, just do chmod 777 start
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].