WhatsApp Clone React Client
Make sure to setup Hasura GraphQL Engine first.
Run codegen to generate TypeScript types
Note: The types are generated from the server! So if you have
admin secret enabled in your graphql-engine server, make sure to update the headers in
Set environment variables. Open
.env file and add the following env
REACT_APP_SERVER_URL='<graphql_engine_server_url'> REACT_APP_AUTH_URL='<auth_server_url'> REACT_APP_ENV='dev'
####Start the app
Note that the auth server should run on port
8010. If you decide to change that, be sure to edit the
.env file in the auth server.