This project calculates commission fees for cash in and cash out operations based on the given rules.
-
Install dependencies:
npm install
-
Create a .env file in the root of the project and add the following line, replacing your_api_url with the actual API URL:
API_URL=your_api_url
-
Run the application:
npm start
Run command with the path to the input file:
npm run runExample assets/input.json
Run the tests:
npm test