Skip to content

ThomasKear/Bamazon

Repository files navigation

Bamazon

Synopsis

An interactive shopping node where MySQL and NodeJS are used to allow users to purchase items as a customer or view, track and update the product inventory as a manager.

Bamazon Customer Interface


The Bamazon Customer Interface allows users to view the current items available to purchase. The user will be prompted to enter the 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 for their purchase.

customerpurchase

Bamazon Manager Interface


The Bamazon Manager Interface allows users to view and edit the inventory of the store

managerprompt

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 and how much stock is left for that product.

managerview

The second option allows the user to see a list of all inventory items that have less than 5 items in stock.

managerlowinvent

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 they wish to add.

manageraddinvent

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

manageraddproduct

Contributors


Thomas Kearney https://github.com/ThomasKear

Technologies Used:


  • Javascript
  • nodeJS
  • MySQL
  • npm packages:
    • mysql
    • inquirer
    • cli-table

License


Copyright 2017 UNC Coding Bootcamp - Thomas Kearney

Releases

No releases published

Packages

No packages published