This a Node CLI and MySQL take on an extremely simple ecommerce app. To see the app in action, click here
- Type node bamazonCustomer.js
- You will get a table of items and asked which item you would like to purchase and the quantity
- Type what you want and how much you want
- You will be shown the amount you own while the product sales and quantity will be updated
- Type in node bamazonManager.js
- You will be given a menu
- Select View Products for Sale to see a table with the table id, name, price, stock_quantity, and product sales
- Select View Low Invetory to see all products with a stock quantity of less than 400
- Select Add to Inventory to Add to Inventory
- Select Add New Product to add a new product to the list
- Type in node bamazonSupervisor.js
- Select View Product Sales by Department to view the department name, over head costs, product sales, and the total profit
- Select Create new Department to create a new Department