{"id":26593734,"url":"https://github.com/hpavlo/task_manager","last_synced_at":"2026-04-20T03:02:35.618Z","repository":{"id":283588365,"uuid":"952262421","full_name":"hpavlo/task_manager","owner":"hpavlo","description":"Task Management API","archived":false,"fork":false,"pushed_at":"2025-03-21T02:02:43.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T19:42:06.544Z","etag":null,"topics":["java","maven","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hpavlo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-21T01:58:40.000Z","updated_at":"2025-03-21T02:03:12.000Z","dependencies_parsed_at":"2025-03-21T03:20:49.334Z","dependency_job_id":"741e5c1a-9851-44c8-a23a-c218e5e5a554","html_url":"https://github.com/hpavlo/task_manager","commit_stats":null,"previous_names":["hpavlo/task_manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hpavlo/task_manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpavlo%2Ftask_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpavlo%2Ftask_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpavlo%2Ftask_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpavlo%2Ftask_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpavlo","download_url":"https://codeload.github.com/hpavlo/task_manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpavlo%2Ftask_manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","maven","spring"],"created_at":"2025-03-23T15:20:07.396Z","updated_at":"2026-04-20T03:02:35.601Z","avatar_url":"https://github.com/hpavlo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Management API\n\nThis application provides a RESTful API for managing tasks. It allows users to create, retrieve, update, and delete tasks.\n\n## Table of Contents\n\n-   [Features](#features)\n-   [Getting Started](#getting-started)\n    -   [Prerequisites](#prerequisites)\n    -   [Installation](#installation)\n    -   [Running the Application](#running-the-application)\n-   [API Endpoints](#api-endpoints)\n-   [Scheduled Tasks](#scheduled-tasks)\n-   [Error Handling](#error-handling)\n-   [Testing](#testing)\n-   [Logging](#logging)\n-   [Contributing](#contributing)\n\n## Features\n\n-   Create, retrieve, update, and delete tasks.\n-   Update task status.\n-   Retrieve task execution time.\n-   Automatic pausing of tasks at midnight.\n-   Input validation.\n-   Error handling for task not found and validation errors.\n-   Unit and integration tests.\n-   Logging with Log4j.\n\n## Getting Started\n\n### Prerequisites\n\n-   Java 17\n-   Maven\n\n### Installation\n\n1.  Clone the repository:\n\n    ```bash\n    git clone git@github.com:hpavlo/task_manager.git\n    ```\n\n2.  Navigate to the project directory:\n\n    ```bash\n    cd task_manager/TaskManager.API\n    ```\n\n3.  Build the application using Maven or Gradle:\n\n    ```bash\n    mvn clean install\n    ```\n\n4.  Configure the database connection in `application.properties`.\n\n### Running the Application\n\n1.  Run the application using Maven or Gradle:\n\n    **Maven:**\n\n    ```bash\n    mvn spring-boot:run\n    ```\n\n    **Gradle:**\n\n    ```bash\n    gradle bootRun\n    ```\n\n2.  The application will be accessible at `http://localhost:8080`.\n\n## API Endpoints\n\n-   `GET /tasks`: Retrieve all tasks.\n-   `GET /tasks/{id}`: Retrieve a task by ID.\n-   `POST /tasks`: Create a new task.\n-   `PATCH /tasks/{id}`: Update a task.\n-   `PUT /tasks/{id}?status={status}`: Update task status.\n-   `DELETE /tasks/{id}`: Delete a task.\n\n## Scheduled Tasks\n\n-   Tasks are automatically paused at midnight (00:00:00) using a scheduled task.\n\n## Error Handling\n\n-   `404 Not Found`: Returned when a task is not found.\n-   `400 Bad Request`: Returned for validation errors.\n-   Detailed error messages are included in the response body.\n\n## Testing\n\n-   Unit and integration tests are included in the `src/test/java` directory.\n-   Run tests using Maven:\n\n    ```bash\n    mvn test\n    ```\n\n## Logging\n\n-   Logging is implemented using Log4j.\n-   Configuration is in `src/main/resources/log4j2.xml`.\n\n## Contributing\n\n1.  Fork the repository.\n2.  Create a new branch for your feature or bug fix.\n3.  Commit your changes.\n4.  Push to the branch.\n5.  Create a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpavlo%2Ftask_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpavlo%2Ftask_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpavlo%2Ftask_manager/lists"}