Giter VIP home page Giter VIP logo

amazon-like's Introduction

Amazon-like

Bamazon

  1. The purpose of Bamazon was to create a user interface that mimics online stores. Using Node.js, MySQL, and a few other dependencies, I was able to create unique interfaces for customers, managers, and supervisors that would provide the user feedback and update the Bamazon database according to the command that was chosen.
  • The demos for each of the interfaces have been linked below, along with a short description of how that interface works.

Customer Interface

Customers are asked if they would like to purchase an item If they answer yes, they are then asked to specify the prouduct id number and how much of the item they would like to purchase. Before the purchase goes through, the stock quantity is checked for sufficient quantity. If there isn't enough of the item, then the user is notified and returned to the initial prompt. Otherwise, the user is notified of the successful purchase and is shown the item they purchased, the amount they specified, and the total price. If they answer no, the script ends and dismisses the user. Link to Customer demo: https://drive.google.com/file/d/17Lu_tjK4inwnLqMD9cNY2suBuQ8ELJCj/view?usp=sharing

Manager Interface

Managers have four main options to choose from: View Product for Sale: displays the products currently for sale in inventory. View Low Inventory: displays the products that have a stock quantity less than 5. Add to Inventory: allows user to increase the stock quantity of an item that's currently in inventory. Add New Product: allows user to add a completely new product to the inventory after specifying the name, department, price, and stock quantity. Nothing: ends script and dismisses user. Link to Manager demo: https://drive.google.com/file/d/17Lu_tjK4inwnLqMD9cNY2suBuQ8ELJCj/view?usp=sharing

Supervisor Interface

'View Product Sales by Department', 'Create New Department', 'Nothing

Supervisors have two main options to choose from: View Product Sales by Department: displays a table of each department, their over head costs, total product sales, and total profit. Total profit is dynamically created and calculated while the query is live. Create New Department: allows user to create a new department after specifying the name and over head costs. Link to Supervisor demo: https://drive.google.com/file/d/17Lu_tjK4inwnLqMD9cNY2suBuQ8ELJCj/view?usp=sharing

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.