Skip to content

melheins/bamazon-node-app

Repository files navigation

Bamazon Node App

Overview

Amazon-like storefront with the MySQL.

App Specifications

Bamazon Customer

  • App displays all products
  • App asks users what product they want to buy and how many.
  • App updates store quantity and informs user the total cost of purchase

Bamazon Manager

  • App gives the user the following options:
    • View Products for Sale
    • View Low Inventory
    • Add to Inventory
    • Add New Product

Bamazon Supervisor

  • App gives the user the following options:
    • View Product Sales by Department
    • Create New Department

Known Issues

NPM Packages Used

  • inquirer
  • mysql
  • cli-table
  • clear
  • chalk
  • dotenv

How to Run

  • Download repository
  • Create .env file with your database information, using the provided .sample-env as an example
  • Run bamazon.sql to create and populate bamazon tables on your database (if not already created)
  • Install npm packages
  • Run applications:
    • "node bamazonCustomer.js"
    • "node bamazonManager.js"
    • "node bamazonSuppervisor.js"

Examples

Screenshots

Customer - Buy Product

Buy Product

Manager - Options

Options

Manager - View Products

View All

Manager - View Low Inventory

View Low

Manager - Add to Inventory

Add Inventory

Manager - Add Product

Add Product

Videos

About

Amazon-like storefront using Node and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published