/Amazon-CLI

The app will take in orders from customers and deplete stock from the store's inventory.

Primary LanguageJavaScript

Amazon-CLI

The app will take in orders from customers and deplete stock from the store's inventory.

Set Up Directions

In the command line, type 'npm install' to download node packages. Go to package.json file to view dependencies.

  • Access bamazonCustomer.js to initiate application as a customer (view/buy products)
  • Access bamazonManager.js to initiate application as a manager (add/view/modify products)

Customer Workflow

Step 1.

Step 2.

Step 3.

Step 4.

Manager Workflow

View All Products

View Low Inventory

Technologies Used

  • Node.js
  • MySQL

Challenges Overcome

  • Asynchronous functions overcome by use of promise and callback functions.

Developers