/Crud-Task-Control

This repository contains a Java CRUD project that uses loops, control structures, collections, OOP, constructors, and methods for managing data in a dynamic and interactive way. It's ideal for beginners to practice fundamental concepts and develop skills in CRUD, with clear and well-organized code that's easy to maintain and extend.

Primary LanguageJava

Task Control CRUD

This project is a simple task manager system that allows you to create, list, update and delete tasks. Also, you can register employees responsible for the tasks.

Getting Started

  1. Clone this repository or download the code in zip format.
  2. Open the project in your favorite IDE.
  3. Run the Program class located in the application package.

How to use

After running the Program class, the following menu will be displayed on the console:

        ============================================
        =               Choose an option:           =
        ============================================
        =    1 - Register an employee               =
        =    2 - List of registered employees       =
        =    3 - Create a new task                  =
        =    4 - List all created tasks             =
        =    5 - Update a task                      =
        =    6 - Delete a task                      =
        =    0 - Exit program                       =
        ============================================

        Enter your choice:

You can select one of the options from the menu by entering the corresponding number and pressing Enter. Follow the instructions displayed on the console for each option.

Register an employee

Select option 1 to register a new employee. You will be prompted to enter the employee's name and position. Once registered, the new employee will be added to the list of employees.

List of registered employees

Select option 2 to display a list of registered employees. The employee name and position will be displayed.

Create a new task

Select option 3 to create a new task. You will be prompted to enter the name, description, employee responsible for the task, and deadline for task completion. If the employee responsible for the task is not registered, you will be prompted to register a new employee. Once the task is created, it will be added to the list of tasks.

List all created tasks

Select option 4 to display a list of all created tasks. The task name, responsible employee name, description, and deadline will be displayed.

Update a task

Select option 5 to update an existing task. You will be prompted to enter the name of the task you want to change. If the task is found, you will be prompted to select what you want to update: the task name. Follow the instructions displayed on the console.

Delete a task

Select option 6 to delete an existing task. You will be prompted to enter the name of the task you want to delete. If the task is found, it will be removed from the list of tasks.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.