{"id":18263624,"url":"https://github.com/cankurttekin/productinventory","last_synced_at":"2026-04-16T04:31:59.946Z","repository":{"id":247058207,"uuid":"805013488","full_name":"cankurttekin/ProductInventory","owner":"cankurttekin","description":"Web API developed using Spring Boot, Spring Data JPA and Spring Security. The purpose of this API is to provide an API that users can perform basic CRUD operations.","archived":false,"fork":false,"pushed_at":"2024-07-06T09:48:31.000Z","size":269,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T19:44:41.616Z","etag":null,"topics":["crud-api","postgresql","rest","spring-boot","spring-security","spring-web"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cankurttekin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-23T17:59:27.000Z","updated_at":"2024-10-14T06:07:14.000Z","dependencies_parsed_at":"2024-07-06T11:04:44.696Z","dependency_job_id":null,"html_url":"https://github.com/cankurttekin/ProductInventory","commit_stats":null,"previous_names":["cankurttekin/productinventory"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cankurttekin%2FProductInventory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cankurttekin%2FProductInventory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cankurttekin%2FProductInventory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cankurttekin%2FProductInventory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cankurttekin","download_url":"https://codeload.github.com/cankurttekin/ProductInventory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247955879,"owners_count":21024474,"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":["crud-api","postgresql","rest","spring-boot","spring-security","spring-web"],"created_at":"2024-11-05T11:12:02.810Z","updated_at":"2026-04-16T04:31:54.916Z","avatar_url":"https://github.com/cankurttekin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProductInventory\n \nThis is a Web API developed using **Spring Boot**, **Spring Data JPA** and **Spring Security**. The purpose of this API is to provide an API that users can perform basic **CRUD** operations.\n\n\n## Technologies Used\n- Java 17\n- Spring Boot\n- Spring Data\n- PostgreSQL\n\n## Endpoints\n\u003cdetails\u003e\n  \u003csummary\u003eList of endpoints:\u003c/summary\u003e\n\u003cbr\u003e\n \nGET\n/api/products \nRetrieve all products\nROLE=EMPLOYEE\n\nPOST\n/api/products\nCreate new product\nROLE=MANAGER\n\nGET\n/api/products/{id}\nRetrieve product by id\nROLE=EMPLOYEE\n\nPUT\n/api/products/{id}\nUpdate product by id\nROLE=MANAGER\n\nDELETE\n/api/products/{id}\nDelete product by id\nROLE=ADMIN\n\nDELETE\n/api/products/\nDelete all products!\nROLE=ADMIN\n\nGET\n/api/products/available\nRetrieve all available products\nROLE=EMPLOYEE\n\n\u003c/details\u003e\n\n\n## Database\nRole and users are in two tables with passwords stored as **bcrytp hash**, primary key being user_id in a members table.\n\u003cbr\u003e\n![Screenshot of a db er diagram.](/images/db-diagram.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcankurttekin%2Fproductinventory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcankurttekin%2Fproductinventory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcankurttekin%2Fproductinventory/lists"}