This node.js CHES Showcase app hosts the CHES Showcase frontend. It implements a minimal endpoint to allow for Keycloak authentication.
The CHES Showcase app will require some configuration. The API will be locked down and require a valid JWT Token to access. We will need to configure the application to authenticate using the same Keycloak realm as the frontend. Note that the CHES Showcase frontend is currently designed to expect all associated resources to be relative to the original access path.
Ensure that you have filled in all the appropriate configurations following config/custom-environment-variables.json before proceeding.
In general, most of these npm run scripts can be prepended with all:
in order to run the same operation on both the application and the frontend sequentially.
npm run all:fresh-start
npm run serve
Start a new terminal
cd frontend
npm run serve
npm run test
npm run lint
npm run lint-fix