Getting Started
The instructions for frontend setup can be found on this page.
Frontend
ReactJS Setup
- Install a stable version of NodeJS. The LTS or current version should work fine.
- Clone this repository, and navigate to it using
cd
in your command line. - Run
yarn install
to install the dependencies. - Copy the
.env.example
file to.env
, and configure the environment variables (more details below). - Run
yarn start
to start the local server atlocalhost:3000
. - Navigate to
localhost:3000
on your browser.
Environment Configuration
REACT_APP_BACKEND_URL
: Specify the URL of your backend. By default, the local development backend can be found athttp://localhost:4300/graphql/
.REACT_APP_ROOT_PATH
: Specify the root URL of your frontend. By default, the local development frontend can be found athttp://localhost:3000/
Testing
- Please format your code with
yarn format
and run the test suite viayarn test
before pushing and issuing a PR.
Last update: 2021-07-27