an Amazon-like storefront CLI app that will take in orders from customers and deplete stock from the store’s inventory.
Prerequisites In order to use this app you should have nodeJS installed and a form of database software installed such as(MySQL)
npm i
.All commands should be entered in the NOde.js-MySQL folder in terminal
in the terminal enter the following command:
node bamazonCustomer.js
it will display all of the items available for sale
Following the items list, the app will prompt users answer two messages;
The second would ask how many units of the product they would like to buy.
Insufficient quantity!
, and then go back the items list for user to choose another one.## Link to video walk through of app: