{"id":29113715,"url":"https://github.com/harshalchavan7/inventory-management-system","last_synced_at":"2026-04-10T16:35:29.902Z","repository":{"id":300088214,"uuid":"1005160990","full_name":"harshalchavan7/Inventory-Management-System","owner":"harshalchavan7","description":"Inventory Management Application built with Spring Boot, Java, and H2 database. Features RESTful APIs for managing products with layered architecture and API testing using Bruno.","archived":false,"fork":false,"pushed_at":"2025-06-19T19:37:15.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-29T11:05:47.392Z","etag":null,"topics":["h2-database","inventory-management","java","maven","rest-api","spring-data-jpa","springboot"],"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/harshalchavan7.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":"2025-06-19T19:14:14.000Z","updated_at":"2025-06-19T19:41:52.000Z","dependencies_parsed_at":"2025-06-19T20:40:44.521Z","dependency_job_id":"7eed06bf-09aa-403b-8b48-5a4323138360","html_url":"https://github.com/harshalchavan7/Inventory-Management-System","commit_stats":null,"previous_names":["harshalchavan7/inventory-management-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harshalchavan7/Inventory-Management-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshalchavan7%2FInventory-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshalchavan7%2FInventory-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshalchavan7%2FInventory-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshalchavan7%2FInventory-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshalchavan7","download_url":"https://codeload.github.com/harshalchavan7/Inventory-Management-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshalchavan7%2FInventory-Management-System/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262581379,"owners_count":23331913,"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":["h2-database","inventory-management","java","maven","rest-api","spring-data-jpa","springboot"],"created_at":"2025-06-29T11:05:45.424Z","updated_at":"2026-04-10T16:35:29.862Z","avatar_url":"https://github.com/harshalchavan7.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inventory Management Application\n\n## Overview\nThis is a simple Inventory Management Application built using Java and Spring Boot. It allows you to manage products with basic CRUD operations. The project uses an in-memory H2 database for data storage and is organized with a typical layered architecture following MVC principles.\n\n---\n\n## Project Structure\n\n```\nInventory Management Application\n│\n├── .idea/                         # IntelliJ IDEA project files\n├── .mvn/                          # Maven wrapper files\n│   └── wrapper/\n│       └── maven-wrapper.properties\n├── src/\n│   ├── main/\n│   │   ├── java/\n│   │   │   └── com/example/demo/\n│   │   │       ├── controller/          # REST API controllers (ProductController.java)\n│   │   │       ├── model/               # Entity/model classes (Product.java)\n│   │   │       ├── repository/          # JPA repositories (ProductRepository.java)\n│   │   │       ├── service/             # Business logic/services (ProductService.java)\n│   │   │       └── InventoryManagementApplication.java  # Main Spring Boot Application class\n│   │   └── resources/\n│   │       ├── application.properties   # App \u0026 DB configurations\n│   │       └── data.sql                  # Sample SQL data to pre-populate H2 DB\n│   └── test/\n│       └── java/com/example/demo/\n│           └── InventoryManagementApplicationTests.java  # Basic unit tests\n├── target/                        # Compiled bytecode and build artifacts\n│   ├── classes/\n│   │   └── com/example/demo/...   # Compiled .class files for packages\n│   └── generated-sources/\n├── HELP.md                       # Help/documentation file\n├── mvnw, mvnw.cmd                # Maven wrapper scripts for UNIX/Windows\n└── pom.xml                      # Maven build and dependency descriptor\n```\n\n---\n\n## Technologies Used\n\n- **Java 17**\n- **Spring Boot 3.2.2**\n- **Spring Data JPA** for ORM\n- **H2 In-Memory Database** for quick, transient data storage\n- **Bruno** for API testing\n- **Maven** for build and dependency management\n\n---\n\n## Features\n\n- CRUD operations on `Product` entity\n- RESTful APIs in `ProductController`\n- Business logic encapsulated in `ProductService`\n- Data access via `ProductRepository`\n- Preloaded sample data via `data.sql`\n- H2 console enabled for easy DB access at `/h2-ui`\n- Logging of SQL queries enabled for debugging\n\n---\n\n## Configuration\n\n### application.properties\n\n- Enables H2 console (`/h2-ui`)\n- Configures H2 in-memory DB URL, username, and driver\n- JPA Hibernate settings for SQL display and auto-update of schema\n\n### Sample SQL (data.sql)\n\n```sql\nCREATE TABLE Product(\n  id number,\n  name VARCHAR(20),\n  description VARCHAR(20),\n  count number,\n  producer VARCHAR(20)\n);\n\nINSERT INTO Product VALUES (1,'Laptop','Dell Laptop',5,'Harshal');\nINSERT INTO Product VALUES (2,'Mobile','ios',1,'Pankaj');\nINSERT INTO Product VALUES (3,'Tablet','Lenovo',4,'Sairaj');\n```\n\n---\n\n## How to Run\n\n1. Clone the repository.\n2. Ensure you have JDK 17 and Maven installed.\n3. Run the application using:\n\n```bash\n./mvnw spring-boot:run\n```\n\nor on Windows:\n\n```powershell\nmvnw.cmd spring-boot:run\n```\n\n4. Access the API at: `http://localhost:8080/`\n5. Access the H2 database console at: `http://localhost:8080/h2-ui` (use username `Harshal`, no password)\n\n---\n\n## Testing\n\n- API testing can be performed using Bruno or other REST clients by hitting the endpoints exposed by `ProductController`.\n\n---\n\n## Notes\n\n- This project is designed for learning and prototyping purposes with in-memory data storage.\n- For production, configure a persistent database and secure API endpoints.\n- Dependencies have been updated to avoid known security vulnerabilities.\n\n---\n\n## Contact\n\nFor questions or suggestions, feel free to reach out.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshalchavan7%2Finventory-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshalchavan7%2Finventory-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshalchavan7%2Finventory-management-system/lists"}