Skip to content

kaiden-m7/Bamazon_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bamazon.js

Node application

Overview


Bamazon.js is a node app that is similar to what we all know as Amazon, allowing a user to come in and shop from a list of products from a table in a local database.

Resorces


Github - files/repository
Visual Studio Code(VSC) - code/file editor
Node.js
NPM Packages

  • MySql
  • Inquirer
  • Prompt

Database


MySql Workbench - to create a database consisting of a table:

  • item_id
  • product_name
  • department_name
  • price

Creating a connection with the root localhost allows the user to access this table in the bamazon.js file, using Node in the terminal.

Prompts

  1. Please enter item ID of the item you are looking for:
    - Listed items 1-10 that can be chosen.

  2. Enter the amount of items you would like to purchase:
    - Allows user to order the quantity they desire.

  3. Thank you for your purchase! Your final total is: $
    - Tells the user what item they have chosen. - Updates the database with remaining items in stock. - Informs user stock is updated.

Demonstration Video


Link to Youtube video

Author


Kaiden Munsey
Github Profile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published