wcrozier12 / bamazon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI Storefront Application

Synopsis

An interactive shopping node app where MySQL and Node.JS are used to allow users to purchase items as a customer, view, track and update the product inventory as a manager, and track the total sales by department as a supervisor.

Bamazon Customer Portal

The Bamazon Customer Portal allows users to view the current items available for purchase. The user will be prompted to enter the item id# and how many items they wish to purchase. If the item is in stock, the order will be completed and the user will see the total amount of their purchase.

Bamazon Manager Portal

The Bamazon Customer Portal allows users to view and edit the inventory of the store. The user will be prompted to choose from the following options:

  • View products for sale
  • View low inventory
  • Add to inventory
  • Add a new product

The first option allows the user to see the list of products that are currently for sale, what department the item belongs to, the price of the product, how much stock is left for that product, and the sales for that product.

The second option allows the user to see a list of all inventory items that have less than 5 items in stock. If there are no products that meet this criteria, the console will tell the user that all items have a stock greater than 5.

The third option allows the user to update the inventory for a specific product. A prompt asks what the id is for the product the user wants to update. A second prompt asks how many items the user wishes to increase the quantity by.

The last option allows the user to add a new product to the inventory. Prompts ask the user for the product name, the department name, the price, and the stock quantity.

Bamazon Supervisor Portal

The Bamazon Supervisor Portal allows users to view the total profits of the store categorized by department and add new departments.

About


Languages

Language:JavaScript 100.0%