This project is a command-line application that allows a company to manage its employee database using Node.js, Inquirer, and PostgreSQL. Users can view, add, and update departments, roles, and employees through a simple CLI interface.
To install and set up the application, follow these steps:
-
Git clone: git@github.com:Treevyy/Employee-Tracker.git
-
Navigate to the project directory: cd EMPLOYEE-TRACKER
-
Right click the root package.json file and click open in integrated terminal
-
Inside the terminal install the dependencies with the command: npm i
-
After dependencies are installed run the application with the command: node index.js
Run the application with the following command: node index.js These commands will allow you to see real time employee, manager, departments and salaries inside your company. It also allows you to update, modify, or delete current employees, managers, departments, roles and salaries with the option to exit each function if you accidnetly misclick into any of these choices.
Upon starting, you will be presented with a menu to:
-
View all departments
-
View all roles
-
View all employees
-
Add a department
-
Add a role
-
Add an employee
-
Update an employee role
-
Update an employee manager
-
View employees by manager
-
View employees by department
-
View the total utilized budget of a department
-
Delete a department
-
Delete a role
-
Delete an employee
-
Exit
A demo of the application can be found at the following link: https://drive.google.com/file/d/1Yy7Q0Lm3xgsRqM9El3YWAKM819-TaMqM/view
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
-
Fork the repository
-
Create a new branch (git checkout -b feature-branch)
-
Commit your changes (git commit -m "Add new feature")
-
Push to the branch (git push origin feature-branch)
-
Open a pull request
All of these tutors helped me revise and edit my code to function properly during the tutoring sessions. Thank you for all your help!
-
Treevyy aka Trevor Moore the main contributor to the assignment.
-
Ainsley Tutor
-
Luis Tutor
Currently, no automated tests are available.
This project is licensed under the MIT license.
If you have any additonal questions, you can contact me at:
-
GitHub: Treevyy
-
Email: aarontrevormoore@gmail.com