Git Product home page Git Product logo

grandsuccess87 / amazonstorefrontapp Goto Github PK

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

This command line interface (CLI) application is an Amazon-like storefront application that will take in orders from customers and deplete stock from the store's inventory using MySQL and Node.Js. This application uses MySQL, Easy-Table, and Inquirer NPM packages for data input and storage.

JavaScript 100.00%
node javascript mysql mysql-database inquirerjs inquirer-prompt easy-table

amazonstorefrontapp's Introduction

BamazonStoreFrontApp

This command line interface (CLI) application is an Amazon-like storefront application that will take in orders from customers and deplete stock from the store's inventory using MySQL and Node.Js. This application uses MySQL and Inquirer NPM packages for data input and storage.

Running this application will display a list of all the products available for sale along with their cost. The application will prompt you with two messages regarding the product you want to order. Select the item and the quantity you want to purchase.

The amount of inventory will be verified and if there isn't enough inventory, then you will be notified. Otherwise, if there is sufficient inventory, your request will be fulfilled. The total cost of your purchase will appear and the inventory will be updated in the mysql database to reflect the remaining quantity.

There is also a manager interface that will allow you to View Products for Sale, View Low Inventory, Add to Inventory, and Add New Products to the database.

To get started, simply follow these steps:

  1. Run npm install to install node packages/dependencies
  2. Run node bamazonCustomer.js to interact with the customer interface
  3. Run node bamazonManager.js to interact with the manager interface

amazonstorefrontapp's People

Contributors

grandsuccess87 avatar

Watchers

 avatar

Forkers

carol8421

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.