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
cdin your command line. - Run
yarn installto install the dependencies. - Copy the
.env.examplefile to.env, and configure the environment variables (more details below). - Run
yarn startto start the local server atlocalhost:3000. - Navigate to
localhost:3000on 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 formatand run the test suite viayarn testbefore pushing and issuing a PR.
Last update: 2021-07-27