Bamazon is a command line-based shopping application that prompts visitors with a visual storefront and asks them what they'd like to purchase. Store inventory is tracked in a MySQL database and gets decremented with each purchase. If there's no inventory for a given product, then the program will prompt the user accordingly.
Technologies and Dependencies
- Node.js
- MySQL
- JavaScript
- Inquirer
- CLI
- CLI-Table
- Figlet
As you can see, the Stock Quantity decreased by 8 after the purchase.
Here's what happens when we try to purchase an item with no stock.


