Skip to content

huwu55/Bamazon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bamazon

Overview

This is an Amazon-like storefront with MySQL. This app will take in orders from customers and deplete stock from the store's inventory.

Customer View

  1. Create a MySQL Database called bamazon.
  2. Create a Table inside of the database called products.
  3. The table contains the following columns:
    • item_id (unique id for each product)
    • product_name (Name of product)
    • department_name
    • price (cost to customer)
    • tock_quantity (how much of the product is available in stores)

Run node bamazonCustomer to start.

Successfully puchased

Image of successfully puchased

Invalid inputs

  • Invalid ID:

Image of invalid id

  • Insufficient Quantity

Image of insufficient quantity

  • Invalid Input

Image of invalid input

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published