{"id":23605959,"url":"https://github.com/ulisses22/api-restful-spring-boot-postgresql","last_synced_at":"2026-05-11T05:32:39.344Z","repository":{"id":239334765,"uuid":"793324261","full_name":"Ulisses22/api-restful-spring-boot-postgresql","owner":"Ulisses22","description":"API for managing products, built with Spring Boot and PostgreSQL","archived":false,"fork":false,"pushed_at":"2024-05-11T14:21:42.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T13:14:07.462Z","etag":null,"topics":["api","java","postgresql","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ulisses22.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-04-29T02:10:23.000Z","updated_at":"2024-05-11T14:26:46.000Z","dependencies_parsed_at":"2024-05-11T16:44:43.739Z","dependency_job_id":null,"html_url":"https://github.com/Ulisses22/api-restful-spring-boot-postgresql","commit_stats":null,"previous_names":["ulisses22/api-restful-spring-boot-postgresql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulisses22%2Fapi-restful-spring-boot-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulisses22%2Fapi-restful-spring-boot-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulisses22%2Fapi-restful-spring-boot-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulisses22%2Fapi-restful-spring-boot-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ulisses22","download_url":"https://codeload.github.com/Ulisses22/api-restful-spring-boot-postgresql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239458921,"owners_count":19642100,"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":["api","java","postgresql","spring-boot"],"created_at":"2024-12-27T13:14:10.078Z","updated_at":"2025-11-05T12:30:31.633Z","avatar_url":"https://github.com/Ulisses22.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Product API\n\nThis is a CRUD (Create, Read, Update, Delete) API for managing products, built with Spring Boot and PostgreSQL.\n\n## Prerequisites\n\n- Java 8 or higher\n- Maven\n- PostgreSQL\n\n## Built With\n\n- Spring Boot\n- PostgreSQL\n- Maven\n- Hibernate\n\n## Getting Started\n\nTo run this project locally, follow these steps:\n\n1. Clone the repository:\n\n   ```sh\n   git clone \u003crepository-url\u003e \n   ```\n\n2. Navigate to the project directory:\n\n    ```sh\n    cd \u003cproject-directory\u003e \n    ```\n    \n3. Update the database connection configuration in application.properties:\n\n    ```sh\n    spring.datasource.url=jdbc:postgresql://localhost:5432/products-api\n    spring.datasource.username=USER_NAME\n    spring.datasource.password=USER_PASSWORD\n    spring.jpa.hibernate.ddl-auto=update\n    spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true\n    ```\n\n4. Build the project:\n    ```sh\n    mvn clean install\n    ```\n5. Run the application:\n    ```sh\n    java -jar target/\u003cproject-name\u003e.jar\n    ```\n## API Endpoints\n\n- POST/products\n- GET/products\n- GET/products/{id}\n- PUT/products/{id}\n- DELETE/products/{id}\n\n\n##### Replace `\u003crepository-url\u003e`, `\u003cproject-directory\u003e`, `\u003cproject-name\u003e`, with appropriate values.\n##### Make sure to have Java, Maven, and PostgreSQL installed before running the project. You can configure the database connection details in `application.properties`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulisses22%2Fapi-restful-spring-boot-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulisses22%2Fapi-restful-spring-boot-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulisses22%2Fapi-restful-spring-boot-postgresql/lists"}