After installing all the dependencies, run the setup script
$ yarn setupand then, the application itself
$ yarn startThis is an exercise that simulates an ATM (Cash Machine).
The rules are simple:
- It should always deliver the lowest number of bills
- It's possible to get the amount requested with available bills
- The client balance is infinite
- Amount of bills/money is infinite
- Available bills and currency must be defined in the configuration
Clone the repository and then go to the folder
$ git clone git@github.com:gerisztein/atm-node.git
$ cd atm-nodeInstall all the dependencies
$ yarn installSetup
$ yarn setupRun the ATM
$ yarn startMIT License © Lucas Gerisztein