Bamazon 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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Bamazon 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 a…
chris-warner/bamazon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Bamazon 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 a…
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
314B