Skip to content

An Amazon-like store front using MySQL and javacsript

Notifications You must be signed in to change notification settings

danielp28/Bamazon

Repository files navigation

The Bamazon Online Store

CUSTOMER PORTAL

The customer portal on Bamazon has two functions:

  1. View all available products
  2. Buy a product selected by ID.

After selecting an item from the list, the user is displyed the item they selected and prompted for a quantity to purchase.

Once the user has selected their item and the quantity they would like to purchase, the database is checked for product availibility. If the user has selected a quantity larger than what is in the DB, they will be notified to choose another option.

However, if the user quantity is less than what is in the DB, they will be notified that their item has been shipped and the DB quantity is updated.

                                                     MANAGER PORTAL

The mangager portal currently has four working functions:

  1. view-inven
  2. low-inven
  3. add-inven
  4. help

The view-inven function will display all current products in the database

The low-inven function displays all inventory items with a stock count below 5

The add-inven function allows the mangager to add inventory to the item of his choice, selected again by item ID in the DB

The help function displays all available commands to the user and re-runs the program

About

An Amazon-like store front using MySQL and javacsript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published