GithubHelp home page GithubHelp logo

mhamdani / b_storefront Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.53 MB

Simulate an Amazon-like storefront with MySQL. This App requires the MySQL and Inquirer npm packages and has data input and storage functionality. Demo gif:

Home Page: http://d.pr/i/GG8kk2

JavaScript 100.00%

b_storefront's Introduction

bamazon_storefront

An app that simulates an Amazon-like storefront with MySQL and takes in orders from customers, depletes stock from the store's inventory, and returns total cost of purchase. This app requires the MySQL and Inquirer npm packages and has functionality for data input and storage.

Customer

The User (Customer) is shown a list of products from the bamazon database and then prompted to confirm whether or not they would like to purchase an item.

If User would like to purchase an item, they are prompted to type in the product ID number of the item they wish to purchase and indicate how many units. If sufficient inventory exist for the item User wishes to purchase, the total cost of the transaction will be posted for the User to see. If the user decides to continue with the purchase, the transaction will complete and an updated unit quantity will appear in the bamazon database.

If the requested product does not have the sufficient inventory to fulfill the order, User will be notified of how many units are in stock, and be given the option to continue with the purchasing process.

Technology

b_storefront's People

Contributors

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