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

Create a version using Hasura GraphQL APIs #218

Open
praveenweb opened this issue May 28, 2019 · 1 comment
Open

Create a version using Hasura GraphQL APIs #218

praveenweb opened this issue May 28, 2019 · 1 comment

Comments

@praveenweb
Copy link

I have made an attempt to create a version of this WhatsApp Clone React App using Hasura GraphQL Engine APIs. Here's the source of the app

Key points:

  • Data modelling on Postgres (slightly different from the original server)
  • Role based access control using Hasura
  • JWT based authentication

Would like to do more optimisations around data fetching for subscriptions. For example, currently we fetch all message data every time a new message comes in. Instead a subscription to be used as a notification for new messages and a simple refetch query to fetch the ones not available on the client.
This should solve the missing messages problem in case the subscription client is not connected for sometime.

Hope others find this fork useful. Will update this issue as i have more optimisations worked out on the app.

@Urigo
Copy link
Owner

Urigo commented Jun 12, 2019

That's amazing.
We've just released a full version of the tutorial updated to all the latest dependencies.

I would love to have a meeting and see how to create a full tutorial version of this using Hasura!

Ping me anytime (my email is public on my Github user page)

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

No branches or pull requests

2 participants