Skip to content

M1TCH3llM/employee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Management System CLI

Description

This command-line application allows users to manage departments, roles, and employees in a company database. Users can view and manipulate data related to departments, roles, and employees using a simple and intuitive interface.

Table of Contents

Features

  • View all departments
  • View all roles
  • View all employees
  • Add a department
  • Add a role
  • Add an employee
  • Update an employee role

View All Departments

When selecting this option, the application displays a formatted table showing department names and department IDs.

View All Roles

When selecting this option, the application displays a list of job titles, role IDs, the department each role belongs to, and the salary for each role.

View All Employees

Selecting this option presents a formatted table with employee data, including employee IDs, first names, last names, job titles, departments, salaries, and the managers to whom employees report.

Add a Department

Users are prompted to enter the name of a new department, which is then added to the database.

Add a Role

Users can add a new role by providing the name, salary, and department for the role. The new role is added to the database.

Add an Employee

To add a new employee, users are prompted to enter the employee's first name, last name, role, and manager. The application then adds the new employee to the database.

Update an Employee Role

Users can update an employee's role by selecting the employee to update and specifying the new role. The application updates the employee's information in the database.

Installation

  1. Clone this repository to your local machine.
  2. Run npm install to install the required dependencies.

Usage

  1. Run the application using the command node app.js.
  2. Follow the on-screen prompts to perform various tasks related to department, role, and employee management.

Video

video Link

GitLink

Github Link

About

Command line employee tracking system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors