Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

bamazon (just like Amazon) is a storefront that incorporates Node.js and mySQL. Bamazon is an app where an user can view items in the store and purchase items from a query (mySQL) and managers can go in and view current inventory, low inventory, add more inventory and add a new product. Node.js, mySQL, Express.js were used to compose this CLI ap…

Notifications You must be signed in to change notification settings

claire-labry/bamazon_homework

Repository files navigation

bamazon

bamazon (just like Amazon) is a storefront that incorporates Node.js and mySQL.

Description of bamazon

Bamazon is an app where an user can view items in the store and purchase items from a query (mySQL) and managers can go in and view current inventory, low inventory, add more inventory and add a new product.

How to use bamazonCustomer.js

Type in the terminal: node bamazonCustomer.js

This will prompt the terminal to inquire the customer of:

  • What product they would like to buy.
  • Quanity of the product that they would like to buy.

Then returns the price for the customer and inventory left. If the customer goes over inventory, then the terminal will state 'Insufficent Quantity!'

How to use bamazonManager.js

Type in the terminal: node bamazonManager.js

This will prompt the terminal to ask the manager what action they would like to take, such as:

  • View Products

  • View Low Inventory

  • Add More Inventory

  • Add new product

Technology Used

  • Node.js
  • mySQL Workbench
  • Express NPM
  • cli-table3 NPM

About

bamazon (just like Amazon) is a storefront that incorporates Node.js and mySQL. Bamazon is an app where an user can view items in the store and purchase items from a query (mySQL) and managers can go in and view current inventory, low inventory, add more inventory and add a new product. Node.js, mySQL, Express.js were used to compose this CLI ap…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published