Skip to content

This application is a Content Management Systems created using Node.JS, Inquirer, and MySQL. Users can keep track of their employees and any information that pertains to their job within a company.

License

Notifications You must be signed in to change notification settings

Rudys212/employee-tracker

Repository files navigation

Employee Tracker

Description


This application is a Content Management Systems created using Node.JS, Inquirer, and MySQL. Users would be able to keep track of their employees and any information that pertains to their job within a company. The employees entered into the database would all have a department, role and other employee information stored and ready to be reviewed by management.

How to Use


  • The user would start by first installing the dependencies with the command: npm i.

Screenshot of npm i

  • The user would start the application by entering the command: node employeeDb.js. This would start the application by bringing the user to the main menu. From there, the user can Add a department, Add an employee, Add an employee role, View all employees, View employees by department, view employees by role, or update an employee role.

    Screenshot of the main menu

  • The user can select Add a department, which would prompt the user to enter the department name.

    Screenshot of adding a Department

  • The user can select Add an employee, which prompts them to enter the employee's first name, last name, employee role ID number, and the employee manager's ID number.

screenshot of adding an employee

  • The user can select Add employee role, which prompts them to enter the employee's job title, salary, and the department ID number where they work.

screenshot of adding a role

  • The user can select View all employees, which show all the employees entered into the database and their employee information.

screenshot of view all employees

  • The user can select View employees by Department, which show all the employees entered into the database based on their department.

screenshot of view by department

  • The user can select View employees by Role, which shows all the employees entered into the database based on their role.

screenshot of view by department

  • The user can select Update Role, which prompts the user to enter the name of employee who's role id number they want to update and what their new role id number will be.

screenshot of view by department

Built With


  • MySQL
  • NodeJS
  • Inquirer

Contributors


forthebadge

License


MIT License

Copyright (c) 2021 Rudys212

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Links


About

This application is a Content Management Systems created using Node.JS, Inquirer, and MySQL. Users can keep track of their employees and any information that pertains to their job within a company.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published