CLI Content Management System to manage a company's employees. The application links to an SQL database and allows users to view and manage employee records from the command line interface in a more user friendly environment.
The application gives yout the following options:
- View all employees with the option by role, department, or manager
- Add an employee, role, or department
- Update an employee role or manager
- Delete employee, role, or department
- View department salary budgets
Demonstration Video Link: https://drive.google.com/file/d/1UgGdmD4m4HnAL5fP4-MaOga2HiN3BsKT/view?usp=sharing
- Run
npm install
to install all dependencies - Run
schema.sql
in MySQLWorkbench- (Optional) Run
seeds.sql
in MySQLWorkbench
- (Optional) Run
- Edit MySQL connection properties in the
connectionProperties
object inemployee-tracker.js
-
Node.js - JavaScript runtime environment
-
MySQLWorkbench - Visual database design tool
- inquirer - For the CLI user interface. This will prompt user within the CLI for employee information.
- mysql - Used to connect to the MySQL database and perform queries
- promise-mysql - Used to create promises from MySQL queries