Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GraphQL + Apollo/Relay for the Node + React codebases #6

Closed
EricSimons opened this issue Apr 19, 2017 · 30 comments
Closed

Implement GraphQL + Apollo/Relay for the Node + React codebases #6

EricSimons opened this issue Apr 19, 2017 · 30 comments

Comments

@EricSimons
Copy link
Member

EricSimons commented Apr 19, 2017

Originally brought up by @kentcdodds here; further discussion here.

Opening this issue to get a discussion going!

@EricSimons EricSimons changed the title Fork Node & React codebases and switch to GraphQL + Apollo/Relay Fork Node & React codebases and implement GraphQL + Apollo/Relay Apr 19, 2017
@thebigredgeek
Copy link

thebigredgeek commented Apr 21, 2017

I can help with this (eventually). Would recommend using Apollo.

@EricSimons
Copy link
Member Author

Awesome! Wanna fork the starter kit and post the link here so that others can watch/help?

@thebigredgeek
Copy link

thebigredgeek commented Apr 21, 2017

I don't have time right now, but I will see if I can connect you with people in the Apollo community who have more free time than I do

@thebigredgeek
Copy link

I've been talking a bit with mxstbr here. He might be willing to help with it. He was mentioned in the tweet that you linked to above

@sibelius
Copy link

I think this boilerplate https://github.com/entria/graphql-dataloader-boilerplate can be used as a start point

I have this one for React Native + React Navigation + Relay https://github.com/sibelius/ReactNavigationRelay.

It is almost migrated to Relay Modern as well: entria/ReactNavigationRelayModern#5

@stubailo
Copy link

This is a great idea! Unfortunately I don't have time to work on this myself but would love to help if I can.

@EricSimons
Copy link
Member Author

@sibelius awesome! Would you be interested in taking lead on GraphQL/Relay?

@stubailo no worries — would be ❤️ if you could give feedback on the final code once it's ready!

@thebigredgeek
Copy link

@EricSimons would definitely encourage use of Apollo over Relay. It seems to be getting more traction these days

@sibelius
Copy link

We can do both, Apollo, Relay and Relay Modern.

I can help with any questions for sure.
I don't have time to work on this myself

@EricSimons EricSimons changed the title Fork Node & React codebases and implement GraphQL + Apollo/Relay Implement GraphQL + Apollo/Relay for the Node + React codebases Apr 24, 2017
@EricSimons
Copy link
Member Author

@leebyron do you know of anyone in the GraphQL community who might be interested in this?

@thebergamo
Copy link

@EricSimons I can help with the GraphQL implementation in the server side.

@EricSimons
Copy link
Member Author

@thebergamo awesome! I just spun up a new issue for it (#46) — can you fork the starter kit and post it in the issue? I'll update the status afterwards 👍

@steveluscher
Copy link

I can chip away at a Relay Modern implementation, @EricSimons, @thebergamo.

@thebergamo
Copy link

@EricSimons done!

@EricSimons
Copy link
Member Author

@steveluscher awesome! Just spun up a new issue for it — can you fork the starter kit and post it in the issue? I'll update the status afterwards 👍

Also, I created a gitter room so that all of the folks working on graphql/apollo/relay can chat and coordinate (since they rely on each other) cc/ @thebergamo

@EricSimons EricSimons mentioned this issue Apr 25, 2017
5 tasks
@jamesbrewerdev
Copy link

It looks like this issue has been split into multiple other issues. Do we still need this one or can we close it?

@thebigredgeek
Copy link

@EricSimons I can handle Apollo if you give me a few weeks haha

@thebergamo
Copy link

@thebigredgeek all help will be very welcomed! until the end of week we will have a version of the server side graphql implemented with Apollo

@EricSimons
Copy link
Member Author

@thebergamo @thebigredgeek should I create a new issue for the Apollo part of this (right now we have GraphQL and Relay issues)?

@thebergamo
Copy link

I'm planning using Apollo as a graphql server. Probably isn't necessary create a new issue.

@thebigredgeek
Copy link

@thebergamo apollo has graphql-server, but their main focus is apollo-client which is the most popular client-side graphql implementation.

@thebigredgeek
Copy link

@EricSimons same issue is probably fine

@stubailo
Copy link

@thebergamo and anyone else here: If you want, you can join the #realworld channel in the Apollo Slack to help coordinate an example, both server and client!

@thebergamo
Copy link

@stubailo I'm in! Thanks for the option!

@dostu
Copy link

dostu commented Jul 18, 2018

I have done a GraphQL implementation with React + Apollo front-end and Ruby on Rails back-end.
Front-end - https://github.com/dostu/react-apollo-realworld-example-app
Back-end - https://github.com/dostu/rails-graphql-realworld-example-app
Demo - http://realworld-react-apollo.herokuapp.com/

Would be great to see other implementations, and mix and match them like we can with the REST API. For that, we should first decide on a schema. So far I have come up with this: https://github.com/dostu/rails-graphql-realworld-example-app/blob/master/GRAPHQL_API_SPEC.md. Would love to hear any opinions about it.

@siddhant1
Copy link

Still looking for it? I can hop on this one now.

@Ericnr
Copy link

Ericnr commented Aug 30, 2019

Found https://github.com/thebergamo/realworld-graphql by @thebergamo which is pretty nice, just wish it was in express instead.

@aisensiy
Copy link

I am working on a java version GraphQL implementation recently after releasing GraphQL ecosystem is quite sophisticated recently. The code base is also https://github.com/gothinkster/spring-boot-realworld-example-app, the same place of the REST implementation, which means it reuse lots of common codes (such as database access, input validation).

The GraphQL schema is firstly copy from https://github.com/thebergamo/realworld-graphql. But I changed some details about pagination, comments:

https://github.com/gothinkster/spring-boot-realworld-example-app/blob/master/src/main/resources/schema/schema.graphqls

The GraphQL code is using dgs-framework just release recently by Netflix.

@sibelius
Copy link

I have a Relay Real World example here https://github.com/sibelius/relay-workshop

it also has 12 practical exercises to help learning Relay hooks

it is a tiny social network https://react-europe-relay-workshop.now.sh/

@geromegrignon
Copy link
Contributor

Hello, we moved the addition of new implementations to this website : https://codebase.show/projects/realworld
Please submit your implementation there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests