Clone this repo and go to server folder.
$ cd server
$ npm install
Create a file named ".env" in the root directory and fill its contents as follows.
DB_URI = mongodb://<dbuser>:<dbpassword>@<dbhost>:<dbport>/<dbname>
SECRET_KEY = your secret key
$ npm run start:dev
and go to localhost:4001/graphql
Clone this repo and go to client folder.
$ cd client
$ npm install
Create a file named ".env.development" in the root directory and fill its contents as follows.
REACT_APP_HTTP_URI = http://localhost:4001/graphql
REACT_APP_SUBSCRIPTION_URI = ws://localhost:4001/graphql
Create a file named ".env.production" in the root directory and fill its contents as follows.
REACT_APP_HTTP_URI = https://easysnap.herokuapp.com/graphql // This is an example. Please write your GraphQL HTTP URI.
REACT_APP_SUBSCRIPTION_URI = ws://easysnap.herokuapp.com/graphql // This is an example. Please write your GraphQL WS URI.
$ npm start
and go to localhost:3000