Skip to content

beingtmk/messenger-clone-hasura-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Messenger Clone

Running the app yourself

Deploy Postgres and GraphQL Engine:

  • Clone this repo
  • Install Hasura CLI
  • Apply the migrations:
    cd hasura 
    hasura migrate apply --endpoint "your endpoint"

Run the auth server

cd auth-server
  • Set the environment variables in .env

  • Install and run the app

  npm install
  npm start

Run the react app

cd react-app
  • Set the environment variables in .env
  yarn install
  • Modify the codegen.yml to include the correct endpoint and headers

  • Generate the graphql types by running

  gql-gen

This would generate the required types in src/graphql/types

  • Run the app
  yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published