This is a basic quest claims service for Zealy, written in NestJS. Requirements are found here.
- Clone the repository.
- Run
yarn
.
Run yarn start:dev
.
Run yarn test
or yarn test:integration
.
This code includes single "quest" module.
schemas
: Contains groups of zod schemas iused for validation, with respective type and DTO objects.
services
: Contains business logic for the quest claims.
The service has a single endpoint defined in quest.controller.ts
.
tests
directory includes integration tests against the claim endpoint validating critical happy paths as well as many validations.
Also, unit tests can be found next to the respective code unit.