{"id":18964611,"url":"https://github.com/brunamark/api-restful","last_synced_at":"2026-04-27T08:32:02.388Z","repository":{"id":258834604,"uuid":"861933932","full_name":"Brunamark/API-RESTful","owner":"Brunamark","description":"API RESTful with Spring Boot","archived":false,"fork":false,"pushed_at":"2024-10-20T19:46:41.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T07:23:15.031Z","etag":null,"topics":["api-rest","java","spring-boot","sql"],"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/Brunamark.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":"2024-09-23T18:33:53.000Z","updated_at":"2024-12-07T01:11:39.000Z","dependencies_parsed_at":"2024-10-28T01:35:42.716Z","dependency_job_id":null,"html_url":"https://github.com/Brunamark/API-RESTful","commit_stats":null,"previous_names":["brunamark/api-restful"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Brunamark/API-RESTful","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brunamark%2FAPI-RESTful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brunamark%2FAPI-RESTful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brunamark%2FAPI-RESTful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brunamark%2FAPI-RESTful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brunamark","download_url":"https://codeload.github.com/Brunamark/API-RESTful/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brunamark%2FAPI-RESTful/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["api-rest","java","spring-boot","sql"],"created_at":"2024-11-08T14:25:15.996Z","updated_at":"2026-04-27T08:32:02.354Z","avatar_url":"https://github.com/Brunamark.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API RESTful\n\n## Overview\nThis RESTful API follows the Model-View-Controller (MVC) architecture, which structures the application in a clear and manageable way.\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eModel \u003c/strong\u003e: Manages the data and business logic. It interacts with the database to fetch and manipulate data.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eView \u003c/strong\u003e: In the context of a RESTful API, the \"view\" is the data representation (usually JSON) sent back to the client.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eController \u003c/strong\u003e: Handles incoming requests from clients, processes them by invoking the appropriate methods on the Model, and returns the data response to the client.\u003c/li\u003e\n\u003c/ul\u003e\n\n\n## Table of Contents\n\u003col\u003e\n  \u003cli\u003eTechnologies Used\u003c/li\u003e\n  \u003cli\u003eGetting Started\u003c/li\u003e\n  \u003cli\u003eAPI Endpoints\u003c/li\u003e\n  \u003cli\u003eAuthentication\u003c/li\u003e\n  \u003cli\u003eError Handling\u003c/li\u003e\n  \u003cli\u003eRunning the Application\u003c/li\u003e\n\u003c/ol\u003e\n\n### 1. Technologies Used\n\n\u003cul\u003e\n  \u003cli\u003e Java 22\u003c/li\u003e\n  \u003cli\u003e Spring Boot 3.3.4\u003c/li\u003e\n  \u003cli\u003e Maven 3.9.9\u003c/li\u003e\n  \u003cli\u003e MySQL database\u003c/li\u003e\n\u003c/ul\u003e\n\n### 2. Getting started\n\n### Prerequisites\n\u003cul\u003e\n  \u003cli\u003eJava JDK 17+\u003c/li\u003e\n  \u003cli\u003eMaven\u003c/li\u003e\n\u003c/ul\u003e\n\n### Instalation\n\n\u003col\u003e\n  \u003cli\u003eClone the repository:\u003c/li\u003e\n  \n```bash\n  $ git clone https://github.com/Brunamark/API-RESTful.git\n````\n\u003cli\u003eNavigate into the project directory:\u003c/li\u003e\n\n```bash\n  $ cd \u003cpath-to-repo\u003e\n````\n\u003cli\u003eBuild the project:\u003c/li\u003e\n\n```bash\n  $ mvn install\n````\n\u003c/ol\u003e\n\n### API Endpoints\n\n\u003cul\u003e\n  \u003cli\u003eGET /user/{id}\u003c/li\u003e\n      Response: \n\n      \n          [\n            {\n              id: 2,\n              username: \"pedro\",\n              password: \"strongpassword\"\n            }\n          ]\n          \n    \n\u003c/ul\u003e\n\u003cul\u003e\n  \u003cli\u003eGET /task/{id}\u003c/li\u003e\n      Response: \n\n      \n          [\n            {\n              id: 1,\n              user_id: 2,\n              description: \"this is a description writed by pedro\"\n            }\n          ]\n          \n\u003c/ul\u003e\n\u003cul\u003e\n  \u003cli\u003ePOST /user\u003c/li\u003e\n      Response: \n  \n       Status Code: 201 Created\n       Location Header: he URL of the newly created user resource (e.g., `/user/{id}`).\n   \n\u003c/ul\u003e\n\u003cul\u003e\n  \u003cli\u003ePOST /task\u003c/li\u003e\n      Response: \n  \n       Status Code: 201 Created\n       Location Header: he URL of the newly created user resource (e.g., `/task/{id}`).\n   \n\u003c/ul\u003e\n\u003cul\u003e\n  \u003cli\u003ePUT /user/{id}\u003c/li\u003e\n      Response: \n\n      \n          [\n            {\n              id: 2,\n              username: \"pedro\",\n              password: \"newpassword\"\n            }\n          ]\n          \n\u003c/ul\u003e\n\u003cul\u003e\n  \u003cli\u003ePUT /task/{id}\u003c/li\u003e\n      Response: \n\n      \n          [\n            {\n              id: 1,\n              user_id: 2,\n              description: \"this is a new description writed by pedro\"\n            }\n          ]\n          \n\u003c/ul\u003e\n\n\u003cul\u003e\n  \u003cli\u003eDELTE /user/{id}\u003c/li\u003e\n      Response: \n\n      \n      Status Code: 204  No Content\n          \n\u003c/ul\u003e\n\n\u003cul\u003e\n  \u003cli\u003eDELTE /task/{id}\u003c/li\u003e\n      Response: \n\n      \n      Status Code: 204  No Content\n          \n\u003c/ul\u003e\n\n### 4. Authentication\n\nNot yet implemented. In the future it will be implemented JWT Auth.\n\n### 5. Error Handling\n\nNot yet implemented.\n\n### 6. Running the Application\n\nAs soon as the project finishes, it will be available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunamark%2Fapi-restful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunamark%2Fapi-restful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunamark%2Fapi-restful/lists"}