Skip to content
A CLI Storefront with MySQL Backend
JavaScript TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
node_modules
README.md
bamaozonDB.sql
bamazonCustomer.js
homework_instructions.md
package-lock.json
package.json

README.md

Bamazon

Overview

This application implements a simple command line based storefront using the npm inquirer package and MySQL database.

Usage

In order to run this application, you should have the MySQL database already set up on your machine. If you don't, visit the MySQL installation page to install the version you need for your operating system.

Clone the repo into a directory of your choice cd into the repo Run command npm install Run command node bamazonCustomer.js Follow prompts to run through the application

Sample Views

Example 1 - View inventory, choose item, and complete purchase if stock on hand is sufficient to fulfill order...
Example1_gif

Example 2 - View inventory, choose item, cancel order if stock on hand is insufficient to fullfill order...
Example2_gif

Technologies

  • Node.js
  • npm inquierer
  • npm mysql
You can’t perform that action at this time.