Giter Site home page Giter Site logo

bamazon's Introduction

Welcome to Bamazon! The place where all your sporting needs are met!

This is an Amazon Like database where you can purchase sporting gear.

Included in the images folder are screenshots of the working program.

Each time a user opens customer.js with a proper connection to a mysql database, they will be prompted to Purchase Products, View Inventory, or Exit.

Once a product ID is entered, an error will show if the ID is invalid or has 0 inventory and prompted to choose another ID. If a proper ID is chosen, data will apear showing the name, quantity in stock, and price. If a quantity higher than the stock quantity is chosen, the user will be prompted to choose another valid quantity.

After a purchase is made, the user will again have the options to Purchase Products, View Inventory which will now be updated, or Exit which will generate a receipt with a list and total cost of all items. If the user Exits without a purchase, no receipt will be available.

After exiting the program, the receipt will be cleared so the next user won't have duplicate items.

bamazon's People

Contributors

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