{"id":15583312,"url":"https://github.com/benevanio/post-comment-example","last_synced_at":"2026-05-19T02:02:11.967Z","repository":{"id":257793615,"uuid":"806227633","full_name":"Benevanio/post-comment-example","owner":"Benevanio","description":"O Post and Comment Management System é uma aplicação Java que permite criar posts com títulos, conteúdo e curtidas, além de adicionar e remover comentários. Ideal para demonstrar conceitos de programação orientada a objetos.","archived":false,"fork":false,"pushed_at":"2024-05-26T18:19:04.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T08:27:59.715Z","etag":null,"topics":["acenden","backe","chat","java","java8","javafx","javaweb","jd","jdbc-driver","mdn-docs","mulesoft","social-media","social-network"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Benevanio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-05-26T18:16:22.000Z","updated_at":"2024-11-26T15:04:04.000Z","dependencies_parsed_at":"2024-09-25T01:41:33.777Z","dependency_job_id":"88cad23c-a81a-4f8f-8f63-eb79e6919099","html_url":"https://github.com/Benevanio/post-comment-example","commit_stats":null,"previous_names":["benevanio/post-comment-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Benevanio/post-comment-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benevanio%2Fpost-comment-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benevanio%2Fpost-comment-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benevanio%2Fpost-comment-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benevanio%2Fpost-comment-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Benevanio","download_url":"https://codeload.github.com/Benevanio/post-comment-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Benevanio%2Fpost-comment-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266332369,"owners_count":23912660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["acenden","backe","chat","java","java8","javafx","javaweb","jd","jdbc-driver","mdn-docs","mulesoft","social-media","social-network"],"created_at":"2024-10-02T20:06:56.554Z","updated_at":"2026-05-19T02:02:11.872Z","avatar_url":"https://github.com/Benevanio.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Post and Comment  Example\n\nThis project is a simple Java application designed to manage posts and comments. The application allows users to create posts with titles, content, and likes, and to add comments to these posts.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Classes](#classes)\n- [License](#license)\n\n## Introduction\n\nThe Post and Comment Post and Comment  Example is a console-based Java application that helps in managing posts and their associated comments. This application demonstrates the use of object-oriented programming concepts such as classes, objects, and encapsulation.\n\n## Features\n\n- Create posts with titles, content, and likes.\n- Add and remove comments to/from posts.\n- Display post details along with their comments.\n\n## Installation\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/yourusername/post-comment-management-system.git\n   ```\n2. Navigate to the project directory:\n   ```sh\n   cd post-comment-management-system\n   ```\n3. Compile the Java files:\n   ```sh\n   javac App.java\n   ```\n\n## Usage\n\n1. Run the application:\n   ```sh\n   java App\n   ```\n2. The application will create a sample post with comments and display the post details.\n\n## Classes\n\n### `entities.Comment`\n\nRepresents a comment on a post.\n\n- `text` (String): The content of the comment.\n\n### `entities.Post`\n\nRepresents a post with a title, content, likes, and comments.\n\n- `comment` (Date): The date the post was created.\n- `title` (String): The title of the post.\n- `content` (String): The content of the post.\n- `likes` (Integer): The number of likes for the post.\n- `comments` (List\u003cComment\u003e): The list of comments associated with the post.\n\n### `App`\n\nThe entry point of the application, which creates a sample post and adds comments to it.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n---\n\nThis readme provides a basic overview of the project, its features, installation instructions, and class descriptions. Adjust the URLs and specific details as per your project repository and license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenevanio%2Fpost-comment-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenevanio%2Fpost-comment-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenevanio%2Fpost-comment-example/lists"}