{"id":18153230,"url":"https://github.com/thecomponent/restful-apis-java","last_synced_at":"2026-05-05T11:38:09.355Z","repository":{"id":258501858,"uuid":"871519386","full_name":"TheComponent/RESTful-APIs-Java","owner":"TheComponent","description":"RESTful API for learning 🫛","archived":false,"fork":false,"pushed_at":"2024-10-15T06:33:37.000Z","size":25,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-07T00:52:22.794Z","etag":null,"topics":["java","restful-api","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheComponent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-10-12T07:27:52.000Z","updated_at":"2024-10-15T06:37:19.000Z","dependencies_parsed_at":"2024-10-19T10:07:19.559Z","dependency_job_id":null,"html_url":"https://github.com/TheComponent/RESTful-APIs-Java","commit_stats":null,"previous_names":["thecomponent/restful-apis-java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheComponent%2FRESTful-APIs-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheComponent%2FRESTful-APIs-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheComponent%2FRESTful-APIs-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheComponent%2FRESTful-APIs-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheComponent","download_url":"https://codeload.github.com/TheComponent/RESTful-APIs-Java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574097,"owners_count":20960495,"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","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","restful-api","spring","spring-boot"],"created_at":"2024-11-02T03:06:05.190Z","updated_at":"2026-05-05T11:38:09.322Z","avatar_url":"https://github.com/TheComponent.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTful API with Java and Spring boot 🫛\nJust a sample about how to build a RESTful API\n\n![image](https://github.com/user-attachments/assets/57998a3a-a8df-42e7-a93e-74530eaa2435)\n\n### Technology\n- Java 21\n- Spring 3.3.4\n- Maven 3.3.4\n- Swagger\n- H2 database\n\n### How to run and test API\n- Open project and run\n- Open Postman to check the APIs\n- APIs:\n\nCreate product:\n\n```\nPOST:\nlocalhost:8080/products\nBody:\n{\n    \"name\": \"Product\",\n    \"description\": \"A product\",\n    \"price\": 10.0\n}\n```\n\nGet product:\n\n```\nGET:\nlocalhost:8080/products/1\n```\n\nUpdate product:\n\n```\nPUT:\nlocalhost:8080/products/1\nBody:\n{\n    \"name\": \"Product updated\",\n    \"description\": \"A product\",\n    \"price\": 10.0\n}\n```\n\nDelete product:\n\n```\nDELETE:\nlocalhost:8080/products/1\n```\n\nGet all products:\n\n```\nGET:\nlocalhost:8080/products\n```\n  \nWe learn, we do, we discuss, we improve! 🍁\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecomponent%2Frestful-apis-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecomponent%2Frestful-apis-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecomponent%2Frestful-apis-java/lists"}