A node powered online shopping center.
To create this, you'll need to download the following node packages:
- Mysql
- Inquirer
- Colors
- First, run the command node bamazonCustomer.js.
- Node then displays the list of items in the databse.
- Select which item you'd like to buy.
- Once you've selected the item you'd like to buy, enter the quantity you'd like to purchase.
- If you there isn't enough stock to fulfill the order, this message will appear in red.
- However, if there is enough stock to fulfill the order, this message will appear:
- At the same time, the quantity of the ordered item will be subtracted from the MySQL database.
- The Bamazon Manager app runs in a manner very similar to the Bamazon customer app, but with a few more-complicated lines of code.