Giter Site home page Giter Site logo

scamazon's Introduction

Glamazon

CLI app based on Amazon store-front

Initial MySQL Database: Original Products Table

Customer CLI App

Running this application will first display all of the items available for sale. Product Log

The app will prompt users with two messages: * The first will ask them the ID of the product they would like to buy * The second will ask how many units of the product they would like to buy

Once the customer has placed the order, the app will check if Glamazon has enough of the product to meet the customer's request. If the store does not, the order will be prevented from going through. Insufficient Qty

However, if the store has enough product, the customer's order will be fulfilled and the store's product inventory will be updated. The total cost of the customer's purchase will be displayed. Order confirmed

See it in action: https://drive.google.com/file/d/1ZLbQWJiOyXYpiICDY5G91jRp-XaXPpfU/view

Manager CLI APP

Running this application will display a menu with four options: * View Products for Sale * View Low Inventory * Add to Inventory * Add New Product

If a manager selects View Products for Sale, the app lists every available item: the item IDs, names, prices, and quantities. View Products for Sale

If a manager selects View Low Inventory, then it will list all items with an inventory count lower than five. View Low Inventory

If a manager selects Add to Inventory, the app will display a prompt that will let the manager add more stock of any item currently in the store. Add to Inventory

If a manager selects Add New Product, it will allow the manager to add a completely new product to the store. Add New Product

See it in action: https://drive.google.com/file/d/1xuNTYLYL0K8y_N_T4KngzhPAUO8HrzYq/view

scamazon's People

Contributors

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