Skip to content

Bamazon is CLI application and it is Amazon-like storefront with the MySQL functionality. The app will take in orders from customers and delete stock from the store's inventory.

Notifications You must be signed in to change notification settings

muneebmemon/Bamazon-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bamazon App (Simple CLI based store app)

  • The app first displays all products, their price and ID to screen and then waits for user to enter ID of the product they wish to purchase.

alt text

  • Then when user selects product they wish to purchase the app asks for the quantity they want to purchase. After user enters quantity the app checks with the database to ensure there is enough quantity available in stock to satisfy order. If not then it displays the message.

alt text

  • If there is enough quantity in stock to satisfy order then app displays the summary of the purchase.

alt text

Technologies used

  • Node.js
  • MySQL
  • MySQL NPM Package
  • Javascript
  • Inquirer NPM Package

About

Bamazon is CLI application and it is Amazon-like storefront with the MySQL functionality. The app will take in orders from customers and delete stock from the store's inventory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published