/bamazon

Primary LanguageJavaScript

bamazon

Demonstrating:

Node.js, mySQL & javaScript

Run node on the server, bamazon will display the list of items available for sale (including product name, id & price) and presents the user the following prompts "what would you like to buy?", "Please enter the item id" "Please enter the quantity". App then displays a coment, "you have select to purchase "quantity" "product name" and asks to confirm. Then displays the total price (quantity*price) and updated database with newQuanity.