- Clone repo.
- Open your favorite command prompt
- cd to the repo folder
- Optional
- Optional steps to run it on a VM
- Once you are in the folder with the .vagrantfile run 'vagrant up'
- after the box is set up run 'vagrant ssh'
- cd /var/code
- cd code
- run 'npm install'
- change the password in the connection.js to what you mysql password is
- connect to workbench or whatever mysql database you are using via SSH tunnel
- run bamazon.js
bamazon,js
- A starting page will ask you if you are customer, manager or supervisor then send you to where you need to go
bamazonCustomer.js
- View all inventory
- Buy a product by Item Id
bamazonManager.js
- View all inventory
- View inventory that is below 5 in stock
- Add to inventory stock
- Add new inventory product
bamazonSupervisor.js
- View all departments
- Add new departments
- Node.js
- Javascript
- SQL/MySQL
- NPM chalk
- NPM inquirer
- NPM cli-table-redemption
- NPM mysql
- NPM dotenv