This project is an exercise to calculate the amount of stops to resupply in a determined distance, calculated in MGLT (megaligths).
The project is done using reactJS, axios, unit tests using jest and enzymer.
Install and run:
- Install Node 8 (LTS) and npm 5.2+
- Install everything with
npm install
oryarn
(if it's available) - Run
npm run start
oryarn start
- Open browser on
http://localhost:3000
- To run tests
npm run test
oryarn test
You should see in your screen like that below:
To do:
- Improve unit tests with mocks
- Include redux to have a better state control in the components