bamizon

#WELCOME TO BAMAZON
####Where all your gaming needs will be met. Gamer Fuel, Hardware and Games galore!

This app is a Customer-oriented, psuedo-version of Amazon with a gaming flair.

To run this app, first you will need to install this NPM packages:

+cli-table
+inquirer
+mysql

####How to operate the App:

First, clone the app from github, https://github.com/Gravehaus/bamizon.git
Second, When the REPO is cloned, type in the terminal/bash command:
(This is what the code will look like:)

giphy

‘node bamazonCustomer.js’ (Do not include quotes)

When the terminal has loaded the customer (i.e. you) will be prompted to:

“Enter the Item ID of the product you want to purchase “

The user then chooses an ID number (1 through 10)

The list will then populate with itemID, item, Department, Price and Stock Quantity:

Screen Shot 2019-10-02 at 4 02 34 PM

This is an image of the Database used. MySql_db


UPDATED README STEP-BY-STEP TUTORIAL Screen Shot 2019-10-26 at 12 53 03 PM 1.) OPEN UP THE BAMAZON FOLDER AND NAVIGATE TO THE bamazoncustomer.js file bam2 2.) ON THE bamazoncustomer.js file, open up an integrated terminal. (This is in VS Code.) bam3 bam4 THE USER WILL THEN BE PROMPTED WITH A SALES GENERATED BOARD THAT WILL PROMPT THE USER WITH OPTIONS TO BUY PRODUCTS OR EXIT bam5 bam6 SELECT ‘PURCHASE’ TO CONTINUE. bam7 THE USER CAN NOW SELECT FROM AN ARRAY OF ITEMS. 1-10. THE USER CAN USE THE ‘UP’ OR ‘DOWN’ ARROW KEYS TO NAVIGATE, OR, THEY CAN TYPE A NUMBER. BAM8 bam9 IT WILL THEN ASK THE USER HOW MANY ITEMS THE USER WOULD LIKE TO BUY Screen Shot 2019-10-26 at 12 54 07 PM THE USER THEN SELECTS A NUMBER AND PRESSES ENTER. Screen Shot 2019-10-26 at 12 54 41 PM IF THE USER SUCCESSFULLY ORDERS AN INSTOCK AMOUNT, THE USER WILL BE GREETED WITH A THANK YOU Screen Shot 2019-10-26 at 1 13 37 PM IF THE USER CHOOSES AN ITEM THATS NOT IN STOCK, THE USER WILL NOT BE ABLE TO PURCHASE.


When the user is done. They can simply EXIT the program and it will terminate the node function.

DEPLOYED
https://gravehaus.github.io/bamizon/

GITHUB PAGE
https://github.com/Gravehaus/bamizon.git