Skip to content

Bamazon is a shopping app that helps customer/manager/supervisor to shop/list/manage products

Notifications You must be signed in to change notification settings

abhinayaa1787/Bamazon

Repository files navigation

Bamazon

Bamazon isa shopping app that helps customer/manager/supervisor to shop/list/manage products

Node packages installed in this

  • Inquirer
  • mySql

Before running the js file use terminal to install the above mentioned packages using the command npm i

Customer view!!

If the user(customer) wants to shop, the following command should be typed in

node bamazonCustomer.js

When this command runs, the inquirer prompt will run and will ask the user to choose an item to buy
The following will be happening

Screenshot

After choosing the product the customer will be prompted for quantity

The following happens

Screenshot

If the user types in a quantity > available stock

The following will be the output

Screenshot

Manager View!!

If the user(manager) wants to perform his tasks, should run the following command

node bamazonManager.js

When this runs the manager will be prompted to choose from four options as the following

Screenshot

If the manager chooses "View products for sale"

The following will be the output

Screenshot

If the manager chooses "View low inventory"

The following will be the output

Screenshot

If the manager chooses "Add to inventory"

The following will be the output

Screenshot

If the manager chooses "Add new product"

The following will be the output

Screenshot

Supervisor view

If the user(supervisor) wants to perform his tasks, should run the following command

node bamazonSupervisor.js

When this runs the manager will be prompted to choose from following options
  • view products for sale
  • Add new department
  • Quit

If the supervisor chooses "view products for sale"

The following will be the output

Screenshot

In all the views, if "Quit" is chosen the database connection ends and the app quits!s

About

Bamazon is a shopping app that helps customer/manager/supervisor to shop/list/manage products

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published