Backend for Frontend app discrete-layer-client
Checkout the OpenAPI spec here
Install deps with npm
npm install
npx husky install
Clone the project
git clone [email protected]:MapColonies/lookup-tables.git
Go to the project directory
cd lookup-tables
Install dependencies
npm install
Start the server
npm run start
To run tests, run the following command
npm run test
To only run unit tests:
npm run test:unit
To only run integration tests:
npm run test:integration
Important
We depend on Red-Hat Yaml Extension
for validating the values files against the relevant schemas from helm-common.
That means, you should install the extension from vscode in order to be able to edit values files according to our schemas.
To update helm dependencies
npm run helm-update
In order to create/renew values schemas
npm run helm-assets
To deploy: helm values MUST be combined from global.yaml and values.yaml (use npm script!)
npm run helm-install
See helm values