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

Open
EricSimons opened this Issue Apr 19, 2017 · 26 comments

Comments

Projects
None yet
10 participants
@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

This comment has been minimized.

Copy link

thebigredgeek commented Apr 21, 2017

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

@EricSimons

This comment has been minimized.

Copy link
Member Author

EricSimons commented Apr 21, 2017

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

@thebigredgeek

This comment has been minimized.

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

This comment has been minimized.

Copy link

thebigredgeek commented Apr 21, 2017

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

This comment has been minimized.

Copy link

sibelius commented Apr 23, 2017

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

This comment has been minimized.

Copy link

stubailo commented Apr 23, 2017

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

This comment has been minimized.

Copy link
Member Author

EricSimons commented Apr 23, 2017

@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

This comment has been minimized.

Copy link

thebigredgeek commented Apr 24, 2017

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

@sibelius

This comment has been minimized.

Copy link

sibelius commented Apr 24, 2017

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

This comment has been minimized.

Copy link
Member Author

EricSimons commented Apr 24, 2017

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

@thebergamo

This comment has been minimized.

Copy link

thebergamo commented Apr 24, 2017

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

@EricSimons

This comment has been minimized.

Copy link
Member Author

EricSimons commented Apr 24, 2017

@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

This comment has been minimized.

Copy link

steveluscher commented Apr 25, 2017

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

@thebergamo

This comment has been minimized.

Copy link

thebergamo commented Apr 25, 2017

@EricSimons done!

@EricSimons

This comment has been minimized.

Copy link
Member Author

EricSimons commented Apr 25, 2017

@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 referenced this issue Apr 25, 2017

Open

🖥 🔧 Relay #48

0 of 5 tasks complete
@brwr

This comment has been minimized.

Copy link
Collaborator

brwr commented Apr 26, 2017

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

@thebigredgeek

This comment has been minimized.

Copy link

thebigredgeek commented Apr 26, 2017

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

@thebergamo

This comment has been minimized.

Copy link

thebergamo commented Apr 26, 2017

@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

This comment has been minimized.

Copy link
Member Author

EricSimons commented Apr 26, 2017

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

@thebergamo

This comment has been minimized.

Copy link

thebergamo commented Apr 26, 2017

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

@thebigredgeek

This comment has been minimized.

Copy link

thebigredgeek commented Apr 26, 2017

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

@thebigredgeek

This comment has been minimized.

Copy link

thebigredgeek commented Apr 26, 2017

@EricSimons same issue is probably fine

@stubailo

This comment has been minimized.

Copy link

stubailo commented Apr 27, 2017

@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

This comment has been minimized.

Copy link

thebergamo commented Apr 27, 2017

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

@dostu

This comment has been minimized.

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

This comment has been minimized.

Copy link

siddhant1 commented Jan 21, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.