mehmetalpsumer / zealy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quest Claims

Introduction

This is a basic quest claims service for Zealy, written in NestJS. Requirements are found here.

Local Development

Setting up

  1. Clone the repository.
  2. Run yarn.

Run the service locally

Run yarn start:dev.

Testing

Run yarn testor yarn test:integration.

Code Structure

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

testsdirectory 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.

About


Languages

Language:TypeScript 97.3%Language:JavaScript 2.7%