GithubHelp home page GithubHelp logo

nodejs-mysql's Introduction

Nodejs-MySQL

bamazonCustomer.js`. Running this application will first display all of the items available for sale.

The app will prompt the following messages two messages.

  • The first should ask them the ID of the product they would like to buy.
  • The second message should ask how many units of the product they would like to buy.

bamazonCustomer succesfull

  • Once the customer has placed the order, the application checks if the store has enough of the product to meet the customer's request.

bamazonCustomer out of stock

bamazonManager.js`. Running this application will:

  • List a set of menu options: bamazonManager list of options

  • View Products for Sale: the app lists every available item: the item IDs, names, prices, and quantities. bamazonManager productsForSale

  • View Low Inventory: it lists all items with an inventory count lower than five. bamazonManager productsForSale

  • Add to Inventory: app displays a prompt that let the manager "add more" of any item currently in the store. bamazonManager productsForSale

  • Add New Product: it should allow the manager to add a completely new product to the store. bamazonManager productsForSale ![table] (../Nodejs-MySQL/images/image08.jpg)

bamazonSupervisor.js`. Running this application will list a set of menu options:

  • View Product Sales by Department bamazonManager salesByDepartment & ![SQL] (../Nodejs-MySQL/images/image10.jpg) | department_id | department_name | over_head_costs | product_sales | total_profit | | ------------- | --------------- | --------------- | ------------- | ------------ | | 01 | Electronics | 10000 | 20000 | 10000 | | 02 | Clothing | 60000 | 100000 | 40000 |

  • Create New Department bamazonManager addNewDepartment

nodejs-mysql's People

Contributors

anaidominick 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.