View and manage the departments, roles, and employees in your company.
- Install Node.js.
- Clone or fork the repo.
- Open the repo with VS Code.
- Open an integrated terminal in the repo folder.
- In the terminal, run
npm init
. - In the terminal, run
npm install inquirer
. - In the terminal, run
npm install mysql2
. - In the terminal, run
npm install console.table
.
Run node index.js
in the terminal access each prompt.
Result from selecting View Department.
Result from selecting Add a Department, then View a Department
View all Employee Roles, Add a Role, and then View again to see updates.
View all Employees, Add an Employee, and then View again to see updates.
View all Employees, Update an Employee, then View all Employees to see updates.
- https://www.npmjs.com/package/mysql2
- https://www.npmjs.com/package/inquirer/v/8.2.4
- https://www.npmjs.com/package/console.table
- https://www.knowledgehut.com/blog/web-development/node-js-process-exit
- https://www.w3schools.com/sql/sql_join_self.asp
- Office Hours 12APR2023
- Tutoring 12APR2023
- Office Hours 13APR2023
- Tutoring 13APR2023
MIT License
https://drive.google.com/file/d/1FbhirnP3gcdt2HQBlH5Jw_xhziyDVpA0/view?usp=sharing