Utlizing Node.js, mySQL, javascript ES6 and npm packages
This node.js mySQL program simulates a retailer ordering and product management system leveraging mySQL database as backend product database. Node inquirer command prompts allow for simulation of customer ordering, inventory and sales functions.
-
Github project : Product-Management-System Repository
-
-
Test Cases - includes unit test result screenshots
-
- Entity Data Model: Department, Product and Product Order
- Addional functions added:
- Customer Orders save to product order table
- Manager can view orders by date range
- inquirer - for interactive command line response
- mysql - for database connectivity
- none
- none necessary
- open terminal session
- run program: node bamazonCustomer.js
- run program: node bamazonManager.js
- run program: node bamazonSupervisor.js
-
expand the data model by adding order table to track every order (simple design: 1 order : 1 product)
-
expand the data model further by changing to order design to instead use tables for order line item and order total - allowing a many to many relationship between products and ordersexpand function to
-
support multi item orders using above data model
-
add item code assignment stored procedure with simulated business rules instead of having user pick new item codes
-
refactoring with purpose of consolidating duplicate quiries across the 3 js modules
Myles Carey mylescarey2019@gmail.com
- 1.0 - Initial Release
Thanks to beta testers - my 15yo & 17yo daughters and wife