Amazon-like storefront with the MySQL.
- App displays all products
- App asks users what product they want to buy and how many.
- App updates store quantity and informs user the total cost of purchase
- App gives the user the following options:
- View Products for Sale
- View Low Inventory
- Add to Inventory
- Add New Product
- App gives the user the following options:
- View Product Sales by Department
- Create New Department
- inquirer
- mysql
- cli-table
- clear
- chalk
- dotenv
- Download repository
- Create .env file with your database information, using the provided .sample-env as an example
- Run bamazon.sql to create and populate bamazon tables on your database (if not already created)
- Install npm packages
- Run applications:
- "node bamazonCustomer.js"
- "node bamazonManager.js"
- "node bamazonSuppervisor.js"
Customer - Buy Product
Manager - Options
Manager - View Products
Manager - View Low Inventory
Manager - Add to Inventory
Manager - Add Product