Git Product home page Git Product logo

bamazon-market's Introduction

๐Ÿ’ฅ BAMazon Marketplace ๐Ÿ’ป ๐Ÿ“ฆ


Overview

Simple command line storefront with two functionalities:

  • Customer
    • allows user to view and purchase products
  • Manager
    • allows user to view, update, add, and remove products

Setup

To run this application, you will need MySQL and Node JS installed on your computer.

MySQL Database Setup (Instructions by angrbrd)

If you do not have MySQL database already set up on your machine, visit the MySQL installation page to install the version you need for your operating system. Once you have MySQL installed, you will be able to create the Bamazon database and the products table with the SQL code found in bamazon.sql. Run this code inside your MySQL client (like Sequel Pro or MySQL Workbench) to populate the database, then you will be ready to proceed with running the Bamazon customer and manager interfaces.

Run Application

Once you have the Bamazon database set up, run these commands in the command line:

git clone https://github.com/MrAlexZimmerman/bamazon-market.git
cd bamazon-market
npm install
node bamazonCustomer.js

Note: type node bamazonManager.js to access the manager portal


Customer Demo

The customer interface:

1) Presents the customer with a table of all available products
2) Asks for the ID of the customer's desired product
3) Asks how many items the customer would like to purchase
4) Confirms order & updates product inventory in database

customer demo

Scroll to top


Manager Demo

The manager interface presents a list of actions:

manager demo: list of actions


1) View Products for Sale
Displays a table of all active products available to the customer

manager demo: view active products


2) View Low Inventory
Displays a table of all products with fewer than 5 items in stock
(or a message that there are no low-stock items)

manager demo: view low inventory


3) Add to Inventory
Allows the manager to add more items to a product's inventory

manager demo: add to inventory


4) Add New Product
Allows the manager to list a new product that is available for purchase

manager demo: add new product


5) Remove A Product
Allows the manager to remove a product from the store

manager demo: remove a product

Scroll to top


Technologies Used


bamazon-market's People

Contributors

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