{"id":26360506,"url":"https://github.com/guilhermeluan/restapijava","last_synced_at":"2026-02-13T12:08:36.564Z","repository":{"id":222730573,"uuid":"758223355","full_name":"GuilhermeLuan/RestAPIJava","owner":"GuilhermeLuan","description":"Java Rest API using Spring + PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-02-17T22:16:42.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T10:21:31.487Z","etag":null,"topics":["backend-api","java","junit5","postgresql","rest-api","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/GuilhermeLuan.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,"zenodo":null}},"created_at":"2024-02-15T21:36:45.000Z","updated_at":"2025-02-11T18:15:25.000Z","dependencies_parsed_at":"2024-07-12T18:47:47.521Z","dependency_job_id":"2823bf04-6deb-4f76-99e0-3d80b03fd788","html_url":"https://github.com/GuilhermeLuan/RestAPIJava","commit_stats":null,"previous_names":["guilhermeluan/restfullapi-sping","guilhermeluan/restfullapi-spring","guilhermeluan/restapijava"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GuilhermeLuan/RestAPIJava","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhermeLuan%2FRestAPIJava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhermeLuan%2FRestAPIJava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhermeLuan%2FRestAPIJava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhermeLuan%2FRestAPIJava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuilhermeLuan","download_url":"https://codeload.github.com/GuilhermeLuan/RestAPIJava/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuilhermeLuan%2FRestAPIJava/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29404970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["backend-api","java","junit5","postgresql","rest-api","spring"],"created_at":"2025-03-16T16:53:04.030Z","updated_at":"2026-02-13T12:08:36.548Z","avatar_url":"https://github.com/GuilhermeLuan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"font-weight: bold;\"\u003eRestfullAPI-Spring 💻\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"#tech\"\u003eTechnologies\u003c/a\u003e • \n \u003ca href=\"#started\"\u003eGetting Started\u003c/a\u003e • \n  \u003ca href=\"#routes\"\u003eAPI Endpoints\u003c/a\u003e •\n \u003ca href=\"#colab\"\u003eCollaborators\u003c/a\u003e •\n \u003ca href=\"#contribute\"\u003eContribute\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cb\u003eA Rest API that registers products with CRUD operations.\u003c/b\u003e\n\u003c/p\u003e\n\n\u003ch2 id=\"technologies\"\u003e💻 Technologies\u003c/h2\u003e\n\n- Java\n- PostgresSQL\n- Spring Boot\n- JPA\n- JUnit 5\n- Docker\n\n\u003ch2 id=\"started\"\u003e🚀 Getting started\u003c/h2\u003e\n\n\u003ch3\u003ePrerequisites\u003c/h3\u003e\n\n- [Java 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)\n- [Git](https://git-scm.com/)\n- [Docker](https://www.docker.com/products/docker-desktop/)\n\n\u003ch3\u003eCloning\u003c/h3\u003e\n\n```bash\ngit clone https://github.com/GuilhermeLuan/RestfullAPI-Spring\n```\n\n\u003ch3\u003eStarting\u003c/h3\u003e\n\n```bash\ncd RestfullAPI-Sping\ndocker compose up\n./mvnw clean install\n./mvnw spring-boot:run\n```\n\n\u003ch2 id=\"routes\"\u003e📍 API Endpoints\u003c/h2\u003e\n\n| route                                     | description                                                          |\n|-------------------------------------------|----------------------------------------------------------------------|\n| \u003ckbd\u003eGET /api/v1/products \u003c/kbd\u003e          | retrieves a list of all products.                                    |\n| \u003ckbd\u003eGET /api/v1/products/{UUID} \u003c/kbd\u003e   | retrieves a specific product by its unique identifier (UUID).        |\n| \u003ckbd\u003ePUT /api/v1/products\u003c/kbd\u003e           | modifies a specific product by its unique identifier on body (UUID). |\n| \u003ckbd\u003ePOST /api/v1/products\u003c/kbd\u003e          | creates a product in the database.                                   |\n| \u003ckbd\u003eDELETE /api/v1/products/{UUID}\u003c/kbd\u003e | deletes a specific product by its unique identifier (UUID).          |\n\n\u003ch3 id=\"get-auth-detail\"\u003eGET /api/products\u003c/h3\u003e\n\n**RESPONSE**\n```json\n[\n  {\n    \"idProduct\": \"ee2737a5-d773-4106-ab60-c3ffbe95ec0e\",\n    \"name\": \"Iphone 14 Pro\",\n    \"valueProduct\": 5000\n  }\n]\n```\n\n\u003ch3 id=\"get-auth-detail\"\u003eGET /api/products/{UUID}\u003c/h3\u003e\n\n**RESPONSE**\n```json\n[\n  {\n    \"idProduct\": \"ee2737a5-d773-4106-ab60-c3ffbe95ec0e\",\n    \"name\": \"Iphone 14 Pro\",\n    \"valueProduct\": 5000\n  }\n]\n```\n\n\u003ch3 id=\"post-auth-detail\"\u003ePUT /api/products/{UUID}\u003c/h3\u003e\n\n\n**REQUEST**\n```json\n{\n  \"idProduct\": \"ee2737a5-d773-4106-ab60-c3ffbe95ec0e\",\n  \"name\": \"Iphone 14 Pro\",\n  \"valueProduct\": 5000\n}\n```\n\n**RESPONSE**\n```json\n{\n  \"idProduct\": \"ee2737a5-d773-4106-ab60-c3ffbe95ec0e\",\n  \"name\": \"Iphone 14 Pro\",\n  \"valueProduct\": 5000\n}\n```\n\n\u003ch3 id=\"post-auth-detail\"\u003ePOST /api/products\u003c/h3\u003e\n\n\n**REQUEST**\n```json\n{\n  \"name\": \"Iphone 14\",\n  \"valueProduct\": 5000\n}\n```\n\n**RESPONSE**\n```json\n{\n  \"idProduct\": \"ee2737a5-d773-4106-ab60-c3ffbe95ec0e\",\n  \"name\": \"Iphone 14\",\n  \"valueProduct\": 5000\n}\n```\n\n\u003ch3 id=\"post-auth-detail\"\u003eDELETE /api/products/{UUID}\u003c/h3\u003e\n\n\n**RESPONSE**\n```text\n\"Product deleted successfully\"\n```\n\n\u003ch2 id=\"colab\"\u003e🤝 Collaborators\u003c/h2\u003e\n\nSpecial thank you for all people that contributed for this project.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://avatars.githubusercontent.com/u/32211071?v=4\" width=\"100px;\" alt=\"Guilherme Luan Profile Picture\"/\u003e\u003cbr\u003e\n        \u003csub\u003e\n          \u003cb\u003eGuilherme Luan\u003c/b\u003e\n        \u003c/sub\u003e\n      \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ch2 id=\"contribute\"\u003e📫 Contribute\u003c/h2\u003e\n\n\n1. `git clone https://github.com/GuilhermeLuan/RestfullAPI-Spring`\n2. `git checkout -b feature/NAME`\n3. Follow commit patterns\n4. Open a Pull Request explaining the problem solved or feature made, if exists, append screenshot of visual modifications and wait for the review!\n\n\u003ch3\u003eDocumentations that might help\u003c/h3\u003e\n\n[📝 How to create a Pull Request](https://www.atlassian.com/br/git/tutorials/making-a-pull-request)\n\n[💾 Commit pattern](https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhermeluan%2Frestapijava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilhermeluan%2Frestapijava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilhermeluan%2Frestapijava/lists"}