- Clone this repo
- Run
npm install
to install dependencies - Run
npm run start
to run the simulator with default sample data
- To run the app in development mode (reload on save), run
npm run dev
instead ofnpm run start
.
- Keep record of stains found to avoid phantom cleans
- Split code to make it more readable
- Reduce reliance on asyc/await where possible
- Increase resilience by checking validity / format of input
- Add unit tests to test robustness of application logic
- DRY code
- Enable development code running (more console logs) from the command line (e.g.
npm run dev --log
)