nnthanh101 / WhatsApp-Chat-Client-React

WhatsApp-Clone Client using React (hooks & suspense) that connect to WhatsApp-Clone-Server using GraphQL & Apollo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WhatsApp Chat - Client

WhatsApp-Clone

Run instructions

  • Make sure to clone the server first

      git clone https://github.com/vbosstech/WhatsApp-Chat-Client-React.git
    
  • Run yarn

      yarn install
    
  • Run codegen to generate TypeScript types

      yarn generate
    

Note that the types are generated from the server! So if you clone the server project in a different path be sure to update the codegen.yml file.

Start the WhatsApp-Chat-Server, see run instructions.

  • Run start

     $ yarn start
    

Note that the server should run on port 4000. If you decide to change that be sure to edit the .env file

About

WhatsApp-Clone Client using React (hooks & suspense) that connect to WhatsApp-Clone-Server using GraphQL & Apollo.

License:MIT License


Languages

Language:TypeScript 90.6%Language:JavaScript 6.4%Language:HTML 2.0%Language:CSS 1.0%