#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:
####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:)
‘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:
This is an image of the Database used.
UPDATED README STEP-BY-STEP TUTORIAL 1.) OPEN UP THE BAMAZON FOLDER AND NAVIGATE TO THE bamazoncustomer.js file 2.) ON THE bamazoncustomer.js file, open up an integrated terminal. (This is in VS Code.) THE USER WILL THEN BE PROMPTED WITH A SALES GENERATED BOARD THAT WILL PROMPT THE USER WITH OPTIONS TO BUY PRODUCTS OR EXIT SELECT ‘PURCHASE’ TO CONTINUE. 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. IT WILL THEN ASK THE USER HOW MANY ITEMS THE USER WOULD LIKE TO BUY THE USER THEN SELECTS A NUMBER AND PRESSES ENTER. IF THE USER SUCCESSFULLY ORDERS AN INSTOCK AMOUNT, THE USER WILL BE GREETED WITH A THANK YOU 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.