Skip to content
/ bamazon Public

An online storefront / command line app - using MySQL, Inquirer, Javascript and Node.js

Notifications You must be signed in to change notification settings

rhynas/bamazon

Repository files navigation

Bamazon

Synopsis

Interactive online storefront / Command line app that take orders from customers and deplete stock from the store's inventory. Also allow to view, track, add and update the product inventory as a manager

Customer View


The Bamazon Customer view allows users to view the current items available for purchase. The user will be prompted to enter the Product id number and how many items they wish to purchase. If the item is in stock, the order will be completed and the user will see the total amount of their purchase.

demo

To run the customer view use the following command:
** node bamazoncustomer.js

Manager View


The Bamazon Manager view allows users to view and edit the inventory of the store. The user will be prompted to choose from the following options:

  • View products for sale: the app list every available item including their id's, names, prices, and quantities

demo

  • View low inventory: the app list all items with a inventory count lower than five

demo

  • View departments: the app list every department created

demo

  • Add to inventory: the app display a prompt that will let the manager "add more" of any item currently in the store.

demo

  • Add a new product: the app allow the manager to add a completely new product to the store.

demo

To run the Manager view use the following command:
* node bamazonmanager.js

Supervisor View


The Bamazon Supervisor view allow will show users a summarized view of the store sales and profits. The user will be prompted to choose from the following options:

  • View Product Sales by Department
  • View Departments
  • View Sales
  • Create New Department

demo

To run the Supervisor view use the following command:
** node bamazonsupervisor.js

###Author

Rhyna Silva

###Technologies Used:

  • Javascript
  • nodeJS
  • MySQL
  • npm packages:
    • mysql
    • inquirer
    • cli-table

Copyright 2017 Rutgers Coding Bootcamp - Rhyna Silva

About

An online storefront / command line app - using MySQL, Inquirer, Javascript and Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published