Skip to content

A node.js CLI application that uses mySQL to demonstrate Model View Control practices of a server.

License

Notifications You must be signed in to change notification settings

JasonRobnson/bamazonShop

Repository files navigation

Bamazon Build Status npm PRs Welcome GitHub license

This app uses a Node.js CLI to access manage inventory for inventory, and managerial functions. The data is stored on a MySQL database.

Problem solved

  1. Ability to managed inventory that is sold.
  2. Replenish inventory as it exits database.
  3. Create multiple MVC for different users.

Deployed Site

picture

Tools

  • Node.js
  • Mysql
  • GitHub
  • Nodemon.js
  • Inquirer.js
  • DocToc (Table of Contents)

Table of Contents generated with DocToc

Installation

Instructions on how to install the app locally.

npm i inquirer npm i mysql npm i console.table

Testing

What tech is used for testing.

How to run the tests

BamazonCustomer.js

A view of the listed files within the folder:

picture

Here is how to start the node apps:

picture

A snapshot of the initial inventory:

This is how the app query's the user. The 1's are simply examples of selections: picture

This is how the app handles checkout and pricing:

picture

Validation Handling

This is an example of how the app handles ItemId validations: picture

This is an example of how the app handles Quantity validations: picture

BamazonManager

This is an example of the BamazonManager app working: picture

This is an example of the BamazonManager app working: picture

About

A node.js CLI application that uses mySQL to demonstrate Model View Control practices of a server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published