Skip to content
Building a chat application using react with apollo react hooks and hasura
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.gitignore
README.md
demo.gif
package-lock.json
package.json

README.md

Building a Chat Application using React,GraphQL and Hasura

This Repository demonstrates how to build a chat application using react with apollo react hooks for GraphQL and Hasura and postgres for backend

Demo

demo

Packages for React Application

  • @apollo/react-hooks - it is used to handle all the graphql queries,mutation and subscriptions using react hooks.
  • apollo-link-ws - this package is used to connect web socket with our backend.
  • apollo-link-http - it is used to connect http with our backend.
  • apollo-link - it act as a network interface for graphql request and fetching the result. Here, apollo link is used to split the http and web socket connections.
  • apollo-utilities - this package is used get the information of graphql queries.
  • apollo-cache-memory - it is used for caching the graphql results.

To Run the Application

   npm install
   npm run start
You can’t perform that action at this time.