Author: Morgan Hamlin
Bamazon is a mock Amazon back-end application that uses mySql, node.js, and the inquirer package to allow users to "purchase" items via their command line. Taking in user input, it then updates the mySQL database.
This program will not allow a user to purchase an item that does not exit, or is not in stock.
WALK THROUGH
- Clone this application into your local repository
- Go to the repository in your command line
- Run the following command:
(10 items will display in the format of the image shown below)
-
Enter the item ID of the item you wish to purchase
-
The database is updated(not visable through CLI)
-
The command line returns the price total (individual price * quantity chosen)
-
Instructions are provided on how to exit the application (seen below)