This is an Amazon-like storefront where the app will take in orders from customers and deplete stock from the store's inventory.
- Clone this repository
- In Terminal or Gitbash run
npm install
to install the required packages - run the program using
node bamazonCustomer
-
Run
node bamazonCustomer
and the app displays the items and quantities avaialable -
Type in the ID number of the item you would like to purchase and it will ask how many the customer would like to buy
-
If there is an issue with the quantity entered, the app will again prompt the user for the correct quantity
*A successfull purchase displays the message "product bought" and returns the customer to the first screen to buy more products
- Node.js
- MYSQL
- Inquire NPM Package
- MYSQL NPM Package
- Node.js
- Create a MYSQL database called 'Bamazon' and reference schema.sql
Built by Maribeth Hardwick while enrolled at the University of Washington Coding Bootcamp