TeamFlow Pro is a powerful command-line interface tool designed to streamline the management of organizational structures. Although it is primarily a command-line tool, it includes routes for convenience if someone wants to convert it into a frontend project. With intuitive commands, it empowers users to effortlessly handle departments, roles, and employees within an organization. The app provides an efficient way to view all departments, roles, and employees through formatted tables, making it easy to access essential information. Users can seamlessly add new departments, roles, and employees, ensuring that the organizational structure remains up-to-date. Moreover, the app allows for the dynamic updating of employee roles, maintaining accurate records across the board. Additionally, it provides options to view employees by manager, update managers, remove an employee, delete a role or department, and view department budgets. It also enables multiple consecutive actions, such as adding multiple employees before returning to the main menu. Experience a hassle-free approach to organizational management with TeamFlow Pro.
- View Options: Upon launching the application, users are presented with several options for interacting with the database.
- View All Departments: Users can view all departments, seeing their names and IDs in a formatted table.
- View All Roles: Display details including job title, role id, the department that role belongs to, and the salary for that role.
- View All Employees: See a formatted table showing employee data, including employee ids, first names, last names, job titles, departments, salaries, and managers that the employees report to.
- Add a Department: Users can add a new department to the database.
- Add a Role: Add a new role with specified details into the database.
- Add an Employee: Users can add a new employee's details to the database.
- Update an Employee Role: Modify the role of an existing employee in the database.
- View Employees by Manager: Displays a list of employees reporting to a specific manager.
- Update Managers: Allows modifying the manager an employee reports to.
- Remove an Employee: Deletes an employee from the database.
- Delete a Role: Removes a role from the database.
- Delete a Department: Deletes a department from the database.
- View Department Budget: Displays the utilized budget of a specific department.
-
Installation:
git clone git@github.com:lightoftwelve/TeamFlowPro.git cd teamflowpro npm install
-
Setting up the Database: Navigate to the
db
folder and run theschema.sql
in your preferred database tool (e.g., MySQL Workbench) to set up the database tables. Optionally, run theseeds.sql
to populate the tables with sample data. -
Starting the Application:
node index.js
Follow the on-screen prompts to interact with the application.
- Node.js
- Inquirer
- MySQL
- DotENV
- Express
- MySQL2
- Prompt-Sync
Link: Watch Here
This project was independently developed by myself, Victoria Alawi.
- Github: @lightoftwelve
- LinkedIn: @Victoria Alawi
- Website: www.lightoftwelve.com
This project is licensed under the MIT License.