Git Product home page Git Product logo

bamazon's Introduction

bamazon

bamazonCustomer.js

  • When opened, a display of all products showing the sku, product name, department name, price, and quantity of each item. Beneath the display, the user is prompted whether or not they want to buy a product

bamazonCustomer results

  • If the user decides to buy a product, they select the product from the list of products.

bamazonCustomer purchase

  • Once a product is selected, the user decides the quantity they want and then the total is displayed, which also updates the quantity in the original table.

bamazonCustomer quantity

bamazonManager.js

  • When opening the bamazonManager file, the user is presented with the following list of options:

bamazonManager list

  • Like the bamazonCustomer file, if the user selects "View Products for Sale", they see the same table listing all products and their subsequent details.

  • Selecting "View Low Inventory" shows the user all products that have less than 5 items remaining.

bamazonManager low

  • When the user selects "Add to Inventory", the user selects the product from a list, inputs the quantity they want to add, and is presented a display informing them that the number they input were successfully added to the database.

bamazonManager newInventory

  • If the user selects "Add New Product", they will be prompted to add the name of the product, the name of the department, and the price. Once those are entered, a string appears telling the user the product was successfully added.

bamazonManager newProduct

bamazonSupervisor.js

  • When the user accesses the bamazonSupervisor file, they are presented with two options:
  1. "View Product Sales by Department"
  • When selected, the subsequent table shows the department ID, department name, over head costs, product sales, and total cost.

bamazonSupervisor table

  1. "Create New Department"
  • When selected, the user is prompted to add a new department, which updates the options for the bamazonManager file as well.

bamazon's People

Contributors

aljoker2001 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.