Run the full contributor check with:
yarn verifyThat script will:
- install dependencies when
node_modulesis missing - start the local PostgreSQL container
- run
yarn lint - run
yarn test - run
yarn build - shut the local PostgreSQL container down on exit
yarn lint
yarn test
yarn test:unit
yarn test:integration
yarn test:smoke
yarn test:external
yarn buildtest:unit: repository and helper logic that does not need a live HTTP servertest:integration: PostgreSQL-backed query and datasource behaviortest:smoke: basic HTTP server boot andGET /healthztest:external: live upstream dependency checks that are intentionally excluded from the default contributor path
- Copy
.env.exampleto.env - Run
yarn dev:up - Start the API with
yarn start:dev - Call
http://localhost:6060/healthz - Point the frontend at
http://localhost:6060
- if integration tests fail immediately, make sure Docker is running
- if PostgreSQL is already bound on port
5432, stop the conflicting service or adjust the compose file and env values together - keep
ENABLE_SCHEDULED_JOBS=falsefor local development unless you are actively testing the scheduled import jobs - use
yarn test:externalonly when you want to validate live upstream dependencies