Employee-Tracker

Objective

To make a command line application that the user can use to sort through data.

Purpose

This is app is useful for managers, business owners, or anyone that needs to search for information in a database.

As a business owner I want to be able to view and manage the departments, roles, and employees in my company So that I can organize and plan my business

Process

This is how the application works

The user is first asked what they would like to do. They can add a row to a table, view any table, or update a role.

Image of 1/15

When the user chooses to add to a table they are given a list of all tables to choose from.

Image of 2/15

When Department is chosen for example, the user is then asked what department they would like to add.

Image of 3/15

Department added!

The app then circles back to the top and asks the user what they would like to do next.

Image of 4/15

This time let’s add a Role as an example.

Image of 5/15

When the user chooses to add a Role they then need to type the Role title,

Image of 6/15

the Salary for the Role,

Image of 7/15

and the id for the Department in which the Role should belong.

Image of 8/15

Role added!

In addidtion to adding a Role and a Department the user can also add an Employee.

Next, the user can view any table in the database.

Image of 9/15

Let’s see Department as example (note that you can also see the department that we added priviously).

Image of 10/15

Here is the Department table

Image of 11/15

Let’s see the Employee table next

Image of 12/15

This is the Employee table

We can also update the Employee Roles

Image of 13/15

The user is asked the id of the Role they would like to update and the title of the Role they would like to change it to.

Image of 14/15

Role updated!

Image of 15/15