{"id":15211242,"url":"https://github.com/xreedev/product-management-springboot","last_synced_at":"2026-03-07T08:35:18.239Z","repository":{"id":256046233,"uuid":"820289721","full_name":"xreedev/Product-Management-Springboot","owner":"xreedev","description":"A Spring Boot application for managing products through a REST API with H2 as the in-memory database, supporting create, read, update, and delete operations.","archived":false,"fork":false,"pushed_at":"2024-09-08T16:44:36.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T22:59:20.734Z","etag":null,"topics":["api","api-rest","crud","h2-database","java","java-spring","javaspringboot","product-api","product-management","spring","spring-application","spring-boot","spring-data-jpa","spring-mvc"],"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/xreedev.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-06-26T07:19:19.000Z","updated_at":"2024-09-25T05:02:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d28ee50-5739-4550-9e16-5af17069f8e5","html_url":"https://github.com/xreedev/Product-Management-Springboot","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"cddff0ff471baff4b8af5430faa1c06f3e0a38c7"},"previous_names":["xreedev/product-management-springboot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xreedev%2FProduct-Management-Springboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xreedev%2FProduct-Management-Springboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xreedev%2FProduct-Management-Springboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xreedev%2FProduct-Management-Springboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xreedev","download_url":"https://codeload.github.com/xreedev/Product-Management-Springboot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242940018,"owners_count":20209883,"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","api-rest","crud","h2-database","java","java-spring","javaspringboot","product-api","product-management","spring","spring-application","spring-boot","spring-data-jpa","spring-mvc"],"created_at":"2024-09-28T08:21:30.425Z","updated_at":"2026-03-07T08:35:18.176Z","avatar_url":"https://github.com/xreedev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Product Management - Spring Boot\n\n![Java](https://img.shields.io/badge/Java-17-brightgreen.svg)\n![Spring Boot](https://img.shields.io/badge/Spring%20Boot-3.0.0-brightgreen.svg)\n![Maven](https://img.shields.io/badge/Maven-3.8.1-brightgreen.svg)\n\n## Description\nA Spring Boot application designed to manage products. This project offers RESTful APIs to create, read, update, and delete products. It demonstrates fundamental Spring Boot functionalities including entity mapping, service layers, and integration with a database.\n\n## Features\n- Create, update, delete, and retrieve products\n- RESTful API for managing product data\n- Integration with a database for persistence\n\n## Technologies Used\n- **Java**: Version 17\n- **Spring Boot**: Version 3.0.0\n- **Maven**: Project build and dependency management\n- **Hibernate/JPA**: For data persistence and ORM\n- **PostgreSQL**: Database used for managing product records\n\n## Project Structure\n```bash\nProduct-Management-Springboot\n├───src\n│   ├───main\n│   │   ├───java\n│   │   │   └───com\n│   │   │       └───productmanagement\n│   │   │           ├───controller  # REST controllers\n│   │   │           ├───model       # Entities representing the database tables\n│   │   │           ├───repository  # JPA repositories for data access\n│   │   │           └───service     # Business logic\n│   └───resources\n│       └───application.properties  # Configuration files\n├───test\n└───pom.xml  # Maven configuration\n```\n\n## Database Configuration\n- **Database**: PostgreSQL\n- **Default port**: `5432`\n- Configure the connection settings in `application.properties`:\n  ```properties\n  spring.datasource.url=jdbc:postgresql://localhost:5432/productdb\n  spring.datasource.username=your-username\n  spring.datasource.password=your-password\n  ```\n\n## API Endpoints\n\n### Product Management\n- `GET /api/products`: Retrieve all products\n- `GET /api/products/{id}`: Retrieve a product by ID\n- `POST /api/products`: Add a new product\n- `PUT /api/products/{id}`: Update an existing product\n- `DELETE /api/products/{id}`: Delete a product by ID\n\n## Prerequisites\n- Java 17\n- Maven\n- PostgreSQL\n\n## Getting Started\n\n### Setup Instructions\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/xreedev/Product-Management-Springboot.git\n   cd Product-Management-Springboot\n   ```\n2. Configure the database in `application.properties`.\n3. Run the application:\n   ```bash\n   mvn spring-boot:run\n   ```\n\n## Testing\nUse Postman or any API client to test the REST endpoints.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxreedev%2Fproduct-management-springboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxreedev%2Fproduct-management-springboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxreedev%2Fproduct-management-springboot/lists"}