Skip to content

Bamazon is a command-line interface (CLI) Amazon-like storefront which takes in orders from customers and depletes stock from the store's inventory. This is an exercise on the CLI and intentionally does not have a client-side.

lindseytummond/bamazon

Repository files navigation

Bamazon - An Online Retailer

Overview:

Bamazon is a command-line interface (CLI) Amazon-like storefront which takes in orders from customers and depletes stock from the store's inventory. This is an exercise on the CLI and intentionally does not have a client-side.

The products available will display in the CLI:

  • item ID
  • product name
  • department name
  • price
  • stock quantity

Author:

Lindsey Tummond

Future Enhancements:

Future developments would include creating a front-end with a simple, user friendly UI.

Technologies:

  • Javascript
  • Node.js
  • MySQL Database
  • NPM package
    • Inquirer
    • Prompt
    • MySQL
    • console.table

How to run the app:

Enter node bamazonCustomer.js in the CLI to start the app.
Prompts will be provided to select the item ID, quantity, and to confirm your order.
Likewise, the app will prompt if you would like to continue shopping or exit the store.

Example Bamazon functionality:

Continue Shopping Bamazon

Alt Text

Low Inventory

Alt Text

About

Bamazon is a command-line interface (CLI) Amazon-like storefront which takes in orders from customers and depletes stock from the store's inventory. This is an exercise on the CLI and intentionally does not have a client-side.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published