Carpaccio project
This is the project codebase for handling the pricing of items
Running locally
This has been setup using Vite. To get it running locally you'll want to run the following:
npm install
npm run dev
Building the project
There is one build step which is npm run build
this will build the project which will but output into the dist
directory
Testing
Unit tests are written using Vitest. To run them locally you can run:
npm run test
Data set
We're using pre-configured data which is hardcoded in ./src/dataset.ts
. There could be a shift towards using a database with this in the future.