The project was to use Node JS to create an Amazon-like storefront with the MySQL. The app will take in orders from customers and deplete stock from the store's inventory. I also programed this app to track product with low inventory and add new product to the table.
Clone down repo.
Run command 'npm install' in Terminal or GitBash
- will ask customers the ID of the product they would like to buy.
- how many units of the product they would like to buy.
- will check if the store has enough of the product to meet the customer's request.
- will show the customer the total cost of their purchase.
Will ask the manager to choose from the following list:
-
List a set of menu options:
-
View Products for Sale
-
View Low Inventory
-
Add to Inventory
-
Add New Product If a manager selects View Products for Sale, the app should list every available item: the item IDs, names, prices, and quantities.
If a manager selects View Low Inventory, then it should list all items with an inventory count lower than five.
If a manager selects Add to Inventory, your app should display a prompt that will let the manager "add more" of any item currently in the store.
If a manager selects Add New Product, it should allow the manager to add a completely new product to the store.
- Javascript - programming language
- Node.js - javascript runtime
-Node.js
-Download the latest version of Node https://nodejs.org/en/
Visual Studio - Text Editor
- Sara Khosravi - saranasr83

