chris-warner / bamazon Goto Github PK
View Code? Open in Web Editor NEWBamazon is an Amazon-like storefront utilizing Node and MySQL. To use it, type node bamazonCustomer.js in the terminal. You will be presented with a database of products. Enter the product ID you would like to to purchase and quantity of items in the following terminal prompt. If there are enough items in stock, the purchase will be successful and you will be presented with the order total. The stock_quantity field will then be updated in mysql to reflect the current value. View high quality photos here: https://photos.app.goo.gl/4ifsHcRsmkYCxZGm9