This isn't a very good app, but it demonstrates a few GraphQL-Ruby features:
- Pusher Subscriptions
Persisted Queries-- rewritten with out this. Let me know if you'd like me to add it back!
It uses Apollo 3, but not the react bindings. Instead, the queries are lumped into one API client.
If you have a question or suggestion, feel free to open an issue!
bundle install
- Setup webhooks:
ngrok http 3000
- Add the webhook to pusher, eg "channel presence" to
https://ff0ca056.ngrok.io/pusher_webhooks
bin/dev
- JS configuration
- Server setup
- Client usage