FIFO Problem. Products arriving based on supply, and then sent to customers based on demand.
You need to have installed:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Clone this project using this command on a terminal:
git clone <url>
Install all needed dependencies using this command on a terminal:
cd <folder>
npm install
Run the project with
npm run allocate or yarn allocate
NOTE: salesOrders and purchaseOrders are located inside mockData.js file in the project root. Feel free of change those variables if you want to test other use cases.
Run the project tests
npm run test or yarn test
- Ricardo Mesa - Initial work