This repo includes a set of tests that can be used to assess the skills of a candidate for a Web Developer position.
for this project we are using: node v18.17.0 (npm v9.6.7) along with below dependencies:
You can then view the app in your browser at http://localhost:4001.
Additionally, you can start api-service by run:
npm run start:api
You can then view the API in your browser at http://localhost:4002. Available API endpoints:
To set up unit test, file must be named with .test.js
and can be run by below command:
npm run test
There 3 exercises and instruction is provided in each file:
- Numeric Input Component (src/exercises/numeric-input.js)
- Relative Date Util function (src/exercises/relative-date.js and src/exercises/relative-date.test.js)
- Shopping Cart (src/exercises/shopping-cart.js)