Skip to content

CloudNativeEntrepreneur/example-hasura-projections-service

Repository files navigation

example-hasura-projections-service

Recieves events from models and updates readmodel data via Hasura API

Running

npm run dev

Testing

Unit Tests

Unit tests should not hit any external dependencies. Use mocks.

100% Code Coverage is required for tests to pass.

To run the unit tests, run:

npm t
# or
npm run test

To run the unit tests in watch mode, run:

npm run test:watch