/employee-tracker

This is a terminal project that tracks departments, roles, and employees in a database. It prompts users with choices and logs the results to the terminal.

Primary LanguageJavaScriptMIT LicenseMIT

Employee-Tracker

badge

badge

Description

This terminal project tracks the departments, roles and employees in the database. It prompts users with choices using Inquirer and logs the result to the terminal using console.table.

Table of Contents

Installation

  1. run git@github.com:RuxinQu/employee-tracker.git on the terminal to git clone the repo.
  2. then run npm install to download the packages.

Usage

  1. run npm start then the user is presented with all the choices.
  2. choose "View all departments", "View all roles" or "View all employees", the user will be presented with all the department, roles or employees.
  3. choose "View budget", the user can select a department and see the combined salary of that department.
  4. choose "Add a department", "Add a role","Add an employee", the user can answer the prompts and add new data to the database.
  5. choose "Update an employee role", the user can select an employee and change the role.
  6. choose "Delete a department" the user can delete a department.
  7. choose "Quit" the user can quit the program.

View the demo video of this project HERE.

License

This project is under MIT license

https://opensource.org/licenses/MIT

Technologies Used

Question

Contact me via: ruxinqu@gmail.com if you have addition questions.