An online storefront / command line app - using MySQL, Inquirer and Node.js.
An Amazon-like storefront using MySQL, the MySQL Package, and the Inquirer Package.
This CLI application takes an order from a customer and deplete the store's stock accordingly.
Initializing node bamazonCustomer.js in the command line brings up the storefront. It asks the user what item they like to purchase and the quantity:
If there are enough in stock Bamazon will adjust the quantities and continue:
If there are not enough items in stock, an error message will be given to the User: