## frontend-release-approval

This is the home of oa-supplychain-metadata, and will soon be the home of oa-marketing-highlights, oa-project-info, oa-sales-goals and oa-sales-goals-view-edit-mode.

Previously, these bundles came from [frontend-distribution](https://github.com/theorchard/frontend-distribution).

### Setup

Make sure your yarn and node versions are up to date:

```bash
brew upgrade node
brew upgrade yarn
```

A grass token is needed to run the application. See how to obtain one for development [here](https://github.com/theorchard/ows-grass#session-token).

You will need to be able to access the QA microservices (i.e., be in the office, or on the VPN) for the grass token to be authenticated, and for the app to display anything.

To get the app running in development mode:

```bash
cp .env.shadow .env # initialize environment configuration
# edit .env and add grass token
nvm use
yarn --frozen-lockfile # install all dependencies
yarn start:main # start dev server
```

To see all available tasks, run `yarn run`.
