Skip to content

Contrapuntist/bamazon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bamazon

Overview

Node-based shopping app, which allows users to select more than on product and the quantity for each. At the start of the app, a list of available prodiucts with item ID, product name, and process is diplayed and a prompt appears asking the user to confirm they are ready to shop. If yes, app progresses to next step. if not then the app displays a message of disappointing.

Upon confirmation of "ready to shop", then a prompt is shown displaying item IDs to choose from and the quanity for that item. The user is then shown another prompt to confirm they are done shopping. If they user is not done, the shopping selection sequence repeats.

Once the user completes shopping, then a series of actions occur, which are automated. Make shopping experience more fluid to process all products at once instead of after each selection.

  1. Confirms the items selected are in stock
  2. if in stock, then adds up price * quantity otherwise, will send a message the item is not available and another message with existing total.
  3. then will update product stock in database
  4. once all the products have been checked and the total tallied, a final order total is displayed and the app ends by ending connection with database.

Steps with screenshots

Step 1 - Ready to Shop Prompt

Step 1

Step 2 - After yes, Select Item

Step 2 - select item

Step 3 - Enter quantity

Step 3 - select quanity

Step 4 - Done shopping? prompt

Step 4 - Done shopping prompt

Step 5 - Continue shopping (optional)

Step 5 - More Shopping Prompt

Step 6 - Order processed: check stock and tally total

Step 6 - Order processed: check stock and tally total

Step 7 - Datbase updates and database connection ends

Step 7 - Logs product items updates in database

About

A node-based back-end music store application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published