Coder Social home page Coder Social logo

bamazon's Introduction

bamazon

bamazonCustomer.js This is a shopping app. Items with prices are populated from a mySQL database. Using Inquirer, the user is prompted to pick an item ID number and the quantity they would like to buy. If the item number is valid and the quantity exists, the quantity is subtracted and updated to mySQL and the total is presented to the user along with a success message. If one of the two conditions is not met, an error message populates and the user is prompted to select an item and quantity again. After a successful purchase, the user is asked if he or she would like to purchase another item. If yes, the process repeats. If no, the connection is ended.

See app's functionality here: https://drive.google.com/file/d/1_ADYavsW3B45BTttCdcDedf5ch7m5D6x/view

bamazonManager.js This app is for managing inventory. Items with prices and quantities are populated from a mySQL database. Inquire is used to prompt if the user would like to see items available, see items that have low stock quantities, add to inventory, or add a new item. Improper inputs (such as non-existing items numbers, blanks, or strings when there should be numbers) are not accepted and the application prompts the user for valid inputs. Following a successful execution of any task, the app asks the user if he or she would like to complete another. If yes, the process repeats. If no, the connection ends.

See app's functionality here: https://drive.google.com/file/d/1kJg4CeULB8W9iEKZTJN8hVyFlrvwm2Gi/view

bamazon's People

Contributors

rhondakremer avatar dependabot[bot] avatar

Watchers

 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.