mabasic / interprice-developer-test

interprice-developer-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InterPrice Developer Test

Final:

Final screenshot

Mockup:

Mockup image

Code coverage:

Coverage

Remarks

A few things that do not match the mockup 100%:

  • USD; 10 Years, FIX, Average by Spread is +88bp, not +72bp as is in the mockup. Avg of [90, 75, 100] = 265 (sum) / 3 (number of items) = 88,33333333333333.
  • "Minimal values (by column) of each primary row should be highlighted." - In the mockup for USD; Spread; only +50bp, +75bp and +130bp are highlighted, but according to the task values +94bp and +128bp should also be highlighted since they are minimum values for that year/couponType.
  • Y Padding on the bottom border bellow the YRS cells seems off in the mockup. The first column has padding on the left and right, and is offset in regard to the value cell bellow, but the second column also has some padding but the value cell bellow does not seem to be affected.

Remarks

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

Useful resource when writting tests:
https://v1.test-utils.vuejs.org/api/wrapper/

npm run test:unit

# code coverage
npm run test:unit:coverage

Lint with ESLint

npm run lint

About

interprice-developer-test


Languages

Language:JavaScript 56.9%Language:Vue 42.1%Language:HTML 0.8%Language:CSS 0.1%