Skip to content

BACK END - Inventory Tracking System | Node js, MySQL, Express js

Notifications You must be signed in to change notification settings

JonFromNYC/Amazon-inventory-system-clone

Repository files navigation

Amazon Inventory System Clone

This is an Amazon-like inventory management system using Node.js & MySQL through a command line interface. After reading the book, "The Everything Store" about the start of Amazon.com one chapter that caught my attention related to a bug. Th bug in question allowed someone to input a negative integer for the number of books they wanted to order and pay themself a refund check. When building this application I wanted to see how I could fix that bug.

Requirements for this program


MySQL & MySQL Workbench

You will need MySQL installed and ready to run on your local machine. Use the template.sql as a template once MySQL is ready to run. If you need help installing MySQL on your local machine check out the installation guide here: MySQL Workbench Installation

Node JS

Have Node JS installed on your machine. Node JS Installation

How it works

First, clone this repository into your local machine via the command line. Type this into the command line:

git clone git@github.com:JonFromNYC/Bamazon.git

cd Bamazon

npm install

After you have executed npm install Node Packages will install that will allow you to execute the program on your local machine. To use the customer view, type this into to the command line:

node bamazonCustomer.js

Customer View


From the command line, enter the product you want and the quantity.

customer


To execute the manager view, enter this into the command line:

node bamazonManager.js

Manager View


The manager can see all available items, add inventory, see what items have a specific quantity, and add new items.

Watch the preview below for a demonstration of all the options.

manager

About

BACK END - Inventory Tracking System | Node js, MySQL, Express js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published