reasonml-community / reason-apollo-hooks

Deprecated in favor of https://github.com/reasonml-community/graphql-ppx
https://reasonml-community.github.io/reason-apollo-hooks/
MIT License
137 stars 28 forks source link

Migrate examples from Graphcool #90

Open Yakimych opened 4 years ago

Yakimych commented 4 years ago

Apparently Graphcool is getting shut down:

image

I've created a similar API with Hasura, hosted on Heroku: https://reason-apollo-hooks-example.herokuapp.com and will look into migrating the existing examples during the coming days.

fakenickels commented 4 years ago

We could use https://github.com/zth/graphql-client-example-server

jeddeloh commented 4 years ago

This seems convenient. I'm going to give it a try on reason-apollo-client as well!

Yakimych commented 4 years ago

@fakenickels Interesting, I haven't used this one! I am also thinking about where to host it for free 🙂 Seems like Hasura has some sort of Hasura Cloud offering nowadays, so their "One-click Heroku deployment" is kind of hidden in the docs now, but it seems to work just fine. Will try to revive my old API in the coming weeks, now that it's vacation season 🙂

Yakimych commented 4 years ago

Looked into graphql-client-example-server - seems like it should be the way to go in the future, so we don't depend on 3rd party hosting, and the user can just spin up a lightweight GraphQL server locally instead. The schema is rather different, however, so it would require a bit of a rework of our examples.

Pointed the links to a Hasura instance on Heroku for now (I have it on a free tier).