Command line application that simulates an inventory management system, allowing users to add, remove, and track items with ease. It features customer purchase functionality, manager capabilities for adding inventory and products, and supervisor access for viewing sales and department management.
- Ensure you have Node, MySQL server, and MySQL workbench installed; links in the Technology section.
- Open the
connection.js
file and add the connection values for your local MySQL server. - Clone the repository to your local machine.
git clone https://github.com/DavidLapadula/StoreFrontSQL.git
cd storefrontsql
- Open a terminal in the root directory and run:
npm install
- Use the
schema.sql
andseeds.sql
to populated the database. They can be modified if you wish. - Open a terminal in the root directory and run the file associated to the role you would like to perform. The options are:
node bamazonCustomer.js
node bamazonManager.js
node bamazonSupervisor.js