Bamazon is a marketplace where users view products, prices and inventory. Users input the item id they would like to purchase and the number of units. Then, Bamazon will calculate the total price and deduct the stock quantity.
The first screenshot displays a table of item id, product name, quantity and price. Here, the user is prompted to enter the item id and quantity they wish to purchase.
The second screenshot shows the total price and updated table after the user's purchase. Then the user is prompted to purchase other items.
-
NPM init -y
-
NPM install mysql
-
NPM install inquirer
-
NPM install cli-table
-
Javascript - JavaScript
-
SQL - SQL Database
-
MySQL - Local Database hosting
-
Node.js - Node.js
-
Node Package Manager - Package manager for JavaScript and Node
-
Inquirer - Command line prompts in the terminal
-
mysql - SQL database
-
cli-table - Table display in the terminal
- Hannah Lim - hannahlim213
This project is licensed under the MIT License - see the LICENSE.md file for details