A company decided to give all its employees a 10bis card, to be used for buying lunch.
The daily budget set by the company is 400 NIS.
If the employee used an amount higher than that, he should pay the delta.
Attached is a skeleton of a React-based application.
The file src/data/raw.data.js
exposes a CSV string that describes the monthly 10bis expenses of a specific employee.
You should extend the application, by adding the following features:
- A table/grid that shows a readable report of the CSV.
- At the bottom of the table, add a summary that will outline the payment distribution between the company and the employee.
Make sure you have NodeJS installed
Then from your terminal run:
git clone https://github.com/kobiburnley/react101
cd react101
npm install
npm start
Open http://localhost:8080 in your browser
Feel free to add dependencies as you need.
- You can fork this repository and send a link to your fork by email.
- You can download the repository and send a zip file by email.