Urigo / WhatsApp-Clone-Client-React

https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial

Home Page:https://tortilla.academy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a version using Hasura GraphQL APIs

praveenweb opened this issue · comments

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.

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)