CustomerView is a Node.js app connected to a MySQL database designed for customer purchases. The Node application uses NPM packages installed to enhance Node.
Install the packages from the terminal in the folder the application was cloned.
Clone the application from the following location… (https://github.com/cbessjr/CustomerView)
Once the application has been cloned, access the bamazonCustomer.js to update the user and password options in the code. This is a neccessary step to allow the
Once the application is loaded a list of the items (in the database) for purchase are printed to the screen. This app then requests for the user to enter the following data:
The application will then report if the requested quantity exists in the database for purchase. If the quantity is not available, the application will report this to the user. Then request a new item and quantity for purchase. If the quantity exists, the application will report a successful purchase to the user which includes the item name, quantity, and total price. The database will be updated by subtracting the purchase the stock_quantity.
### Screenshots
### Future Updates