ppreyer / bamazon-app

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bamazon

Overview

An interactive shopping node app where MySQL and Node.JS are used to allow users to purchase items as a customer, view, track and update the product inventory as a manager, and track the total sales by department as an executive.

Bamazon Customer Portal

The Bamazon Customer Portal allows users to view the current items available for purchase. The user will be prompted to enter the item id# 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.

bamazoncustomer

Bamazon Manager Portal

The Bamazon Customer Portal 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 View low inventory Add to inventory Add a new product

Manager Options 1 & 2

The first option allows the user to see the list of products that are currently for sale, what department the item belongs to, the price of the product and how much stock is left for that product.

The second option allows the user to see a list of all inventory items that have less than 5 items in stock.

bamazonmanager1

bamazonmanagerlowinventory

The third option allows the user to update the inventory for a specific product. A prompt asks what the id is for the product the user wants to update. A second prompt asks how many items the user wishes to increase the quantity by.

The last option allows the user to add a new product to the inventory. Prompts ask the user for the product id#, the product name, the department name, the price and the stock quantity.

bamazonmanageradd

bamazonmanagernew

Bamazon Supervisor Portal

The Bamazon Executive Portal allows users to view the total profits of the store categorized by department and add new departments.

bamazonsuperprofit

newdeprt

Contributors:

Parker Preyer GitHub

Technologies Used:

Javascript nodeJS MySQL npm packages: mysql inquirer cli-table

License

Copyright 2017 UNC Coding Bootcamp - Parker Preyer

About

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


Languages

Language:JavaScript 100.0%