This is the API project for Velocity Experiments Workflow.
npm ci
Before running the application locally, you must run:
vaultAuth
to authenticate to Vaultssh pg-dev
to open a connection to dev databasessh pg-dev-ro
to open a connection to read-only dev database
npm run dev
npm run debug
If you are using VSCode, you may also use the launch configuration in .vscode
.
Run all tests:
npm run test
Run with file watching:
npm run testDev
Generate code coverage report in ./coverage
:
npm run testCoverage
To override configuration values in ./src/configs/coreSource.js
pulled from Vault, you can create an overrides.json
in the ./src/configs/
directory containing keys and values you wish to override.
i.e. to enable Kafka locally;
{
"kafka": {
"enableKafka": true,
}
}