{"id":19611798,"url":"https://github.com/wonjong2/employee_tracker","last_synced_at":"2026-05-11T12:36:00.382Z","repository":{"id":114791497,"uuid":"490025001","full_name":"wonjong2/Employee_Tracker","owner":"wonjong2","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-14T05:10:59.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T17:36:15.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wonjong2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-08T18:31:53.000Z","updated_at":"2022-05-09T18:44:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"f20487fc-d75f-41ad-a53c-c4a2b186f84a","html_url":"https://github.com/wonjong2/Employee_Tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wonjong2/Employee_Tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonjong2%2FEmployee_Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonjong2%2FEmployee_Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonjong2%2FEmployee_Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonjong2%2FEmployee_Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wonjong2","download_url":"https://codeload.github.com/wonjong2/Employee_Tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonjong2%2FEmployee_Tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32894940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T10:44:04.319Z","updated_at":"2026-05-11T12:36:00.366Z","avatar_url":"https://github.com/wonjong2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Employee Tracker\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Description\n\nDiscription :\nThis application allows a user to view and manage the departments, roles, and employees in the user's company\n\n- Use node.js to implement this application\n- Use 'mysql2' to connect to MySQL database and perform queries\n- Use 'inquirer' to interact with the user via the command line\n- Use 'dotevn' to hide private information from public place\n- Use 'console.table' to print MySQL rows to the console\n\n## Table of Contents\n\n1. [Installation](#installation)\n2. [Usage](#usage)\n3. [License](#license)\n4. [Contributing](#contributing)\n5. [Test](#test)\n6. [Questions](#questions)\n\n## Installation\n\n1. Move to the directory where server.js is\n2. npm i\n3. node server.js\n\nPlease refer to the image below.\n\n![install](./images/install.png)\n\n## Usage\n\n1. When a user starts the application, the following options are shown: 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, delete a department, delete a role, delete an employee, and view the total utilized budget of a department\n   ![options](./images/options.png)\n\n2. When a user chooses to view all departments, a user is presented with a formatted table showing department names and department ids\n\n3. When a user chooses to view all roles, a user is presented with the job title, role id, the department that role belongs to, and the salary for that role\n\n4. When a user chooses to view all employees, a user is presented with a formatted table showing employee data, including employee ids, first names, last names, job titles, departments, salaries, and managers that the employees report to\n\n5. When a user chooses to add a department, a user is prompted to enter the name of the department and that department is added to the database\n\n6. When a user chooses to add a role, a user is prompted to enter the name, salary, and department for the role and that role is added to the database\n\n7. When a user chooses to add an employee, a user is prompted to enter the employeeâ€™s first name, last name, role, and manager, and that employee is added to the database\n\n8. When a user chooses to update an employee role, a user is prompted to select an employee to update and their new role, and this information is updated in the database\n\n9. When a user chooses to update an employee manager, is prompted to select an employee to update and their new manager, and this information is updated in the database\n\n10. When a user chooses to view employees by manager/department, a user is presented with the manager's name and employees who report to that manager\n\n11. When a user chooses to delete a department/ a role / an employee, a user is prompted to select an item to delete and this item is deleted from the database\n\n12. When a user chooses to view the total utilized budget of a department, a user is presented with the total salaries of employees who belong to each department\n\n`Please refer to the walkthrough video`\n\nhttps://watch.screencastify.com/v/ne5wToOqJs6Fyh8QNqez\n\n## License\n\nCopyright (c) 2022 `wonjong2` (GitHub Username) Licensed under [the MIT License](https://choosealicense.com/licenses/mit/).\n\n## Contributing\n\nAll your inputs are valuable and I love them.\n\n- Reporting a bug\n- Submiiting a fix\n- Proposing new features\n\n## Test\n\nN/A\n\n## Questions\n\n1. GitHub: https://github.com/wonjong2\n2. If you have any questions, please reach out to wonjong2@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonjong2%2Femployee_tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwonjong2%2Femployee_tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonjong2%2Femployee_tracker/lists"}