{"id":20638552,"url":"https://github.com/ahmetfurkandemir/boyner-case-study","last_synced_at":"2025-04-15T21:52:53.549Z","repository":{"id":37530870,"uuid":"505937084","full_name":"AhmetFurkanDEMIR/Boyner-Case-Study","owner":"AhmetFurkanDEMIR","description":"Boyner Case Study","archived":false,"fork":false,"pushed_at":"2022-06-21T17:21:44.000Z","size":33511,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T21:52:34.321Z","etag":null,"topics":["api","boyner","case-study","docker","java","javax","spring","sqlserver"],"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/AhmetFurkanDEMIR.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}},"created_at":"2022-06-21T17:13:29.000Z","updated_at":"2025-02-22T19:14:54.000Z","dependencies_parsed_at":"2022-08-18T18:50:53.945Z","dependency_job_id":null,"html_url":"https://github.com/AhmetFurkanDEMIR/Boyner-Case-Study","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmetFurkanDEMIR%2FBoyner-Case-Study","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmetFurkanDEMIR%2FBoyner-Case-Study/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmetFurkanDEMIR%2FBoyner-Case-Study/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmetFurkanDEMIR%2FBoyner-Case-Study/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AhmetFurkanDEMIR","download_url":"https://codeload.github.com/AhmetFurkanDEMIR/Boyner-Case-Study/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249161130,"owners_count":21222469,"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","boyner","case-study","docker","java","javax","spring","sqlserver"],"created_at":"2024-11-16T15:18:26.631Z","updated_at":"2025-04-15T21:52:53.525Z","avatar_url":"https://github.com/AhmetFurkanDEMIR.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿\n![](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge\u0026logo=java\u0026logoColor=white) ![](https://img.shields.io/badge/Spring-6DB33F?style=for-the-badge\u0026logo=spring\u0026logoColor=white) ![](https://img.shields.io/badge/Microsoft%20SQL%20Server-CC2927?style=for-the-badge\u0026logo=microsoft%20sql%20server\u0026logoColor=white) ![](https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge\u0026logo=docker\u0026logoColor=white`)\n\n# Boyner Case Study\n\n[Projenin kaynak java classları](/src/main/java/com/Boyner/BoynerCase/)\n\n[Projeyi localinizde çalıştırmanız için gerekli docker-compose dosyası](/docker-compose.yml)\n\n[Ubuntu için docker kurulumu](https://docs.docker.com/engine/install/ubuntu/)\n\nDocker imajlarını ayağa kaldırma⇂\n```terminal\n# Cleaning up Docker images\ndocker rm -f $(docker ps -a -q)\ndocker volume rm $(docker volume ls -q)\n\n# Running all images (While in the project folder)\ndocker-compose up\n```\nDocker imajları ayağa kaktıktan sonra oluşacak tablo şeması⇂\n\n![Screenshot_2022-06-01_13-19-16](https://user-images.githubusercontent.com/54184905/171382747-2d9e3f51-c3c4-47e3-9572-6379907c2b88.png)\n\n## API kullanımı\n\nDocker imajlarını ayağa kaldırdıktan sonra [http://localhost:8080/api/](http://localhost:8080/api/) bağlantısı ile API yi localinizde kullanabilirsiniz, veya [http://52.91.218.62:8080/api/](http://52.91.218.62:8080/api/) bağlantısı ile AWS EC2 üzerinde deploy ettiğim canlı API yi kullanabilirsiniz.\n\n* **ProductCatalog**\n\n**Post :⇂**\n\n**tbl_category_attributes** tablosuna yeni item ekleme⇂\n[http://localhost:8080/api/createProductCategoryAttributes](http://localhost:8080/api/createProductCategoryAttributes)\n```json\n{\n    \"brand\":\"brand\",\n    \"color\":\"red\",\n    \"gender\":\"male\",\n    \"size\":\"xl\"\n}\n```\n![Screenshot_2022-06-01_13-46-45](https://user-images.githubusercontent.com/54184905/171387417-f2436d81-3768-4abb-a6c7-b43ec64c3053.png)\n\n**tbl_product_category** tablosuna yeni item ekleme⇂\n[http://localhost:8080/api/createProductCategory](http://localhost:8080/api/createProductCategory)\n```json\n{\n    \"name\":\"TshortCategory\",\n    \"category_attributes\":1\n}\n```\n![Screenshot_2022-06-01_13-50-32](https://user-images.githubusercontent.com/54184905/171388161-7250fb51-efa1-416b-94f2-61599f3bf20e.png)\n\n**Get :⇂**\n\n**tbl_product_category** tablosunda isim ile kategori arama⇂\n[http://localhost:8080/api/PrCategoryName](http://localhost:8080/api/PrCategoryName)\n```\nhttp://localhost:8080/api/PrCategoryName?name=TshortCategory\n```\n![Screenshot_2022-06-01_13-58-34](https://user-images.githubusercontent.com/54184905/171389367-072b4afa-18a6-4a8e-ae1f-0eea514a51c8.png)\n\n**Put :⇂**\n\n**tbl_product_category** tablosunda id ile güncelleme yapma⇂\n[http://localhost:8080/api/updateProductCategory](http://localhost:8080/api/updateProductCategory)\n```json\n{\n    \"id\":1,\n    \"name\":\"TshortCategory NEW\",\n    \"category_attributes\":1\n}\n```\n![Screenshot_2022-06-01_14-02-10](https://user-images.githubusercontent.com/54184905/171390185-b07d78f7-f072-4309-9ee6-d10f0bcfeec8.png)\n\n**Delete :⇂**\n\n**tbl_product_category** tablosunda id ile bağlı tüm tablolara soft delete yapma⇂\n[http://localhost:8080/api/deleteProductCategory](http://localhost:8080/api/deleteProductCategory)\n```\nhttp://localhost:8080/api/deleteProductCategory?id=1\n```\n![Screenshot_2022-06-01_15-01-34](https://user-images.githubusercontent.com/54184905/171399798-e4a78f55-4182-4a22-8cd2-961db4612cec.png)\n\n* **Product**\n\n**Post :⇂**\n\n**tbl_product_attributes** tablosuna yeni item ekleme⇂\n[http://localhost:8080/api/createProductAttributes](http://localhost:8080/api/createProductAttributes)\n```json\n{\n    \"brand\":\"brandProduct\",\n    \"color\":\"blue\",\n    \"gender\":\"Unisex\",\n    \"size\":\"m\"\n}\n```\n![Screenshot_2022-06-01_14-26-58](https://user-images.githubusercontent.com/54184905/171393992-ef456253-0151-4c25-b7e6-1e7ed1239337.png)\n\n**tbl_product** tablosuna yeni item ekleme⇂\n[http://localhost:8080/api/createProduct](http://localhost:8080/api/createProduct)\n```json\n{\n    \"name\":\"Boyner Tshort\",\n    \"price\":99.99,\n    \"product_attributes\":2,\n    \"product_catalog_id\":1\n}\n```\n![Screenshot_2022-06-01_14-30-00](https://user-images.githubusercontent.com/54184905/171394600-cbe47a85-0c62-4d40-adf9-9418e368f016.png)\n\n**Get :⇂**\n\n**tbl_product** tablosunda name ile item arama⇂\n[http://localhost:8080/api/productName](http://localhost:8080/api/productName)\n```\nhttp://localhost:8080/api/productName?name=Boyner Tshort\n```\n![Screenshot_2022-06-01_14-36-43](https://user-images.githubusercontent.com/54184905/171395606-75d6be81-82ba-4094-a8d6-6b76a091521e.png)\n\n**tbl_product** tablosunda CategoryName ile item arama⇂\n[http://localhost:8080/api/productCategoryName](http://localhost:8080/api/productCategoryName)\n```\nhttp://localhost:8080/api/productCategoryName?name=TshortCategory NEW\n```\n![Screenshot_2022-06-01_14-38-22](https://user-images.githubusercontent.com/54184905/171396014-e22e6196-69e5-4507-ade3-1b129e433693.png)\n\n**tbl_product** tablosunda PriceRange ile item arama⇂\n[http://localhost:8080/api/productPriceRange](http://localhost:8080/api/productPriceRange)\n```\nhttp://localhost:8080/api/productPriceRange?start=98.8\u0026finish=100\n```\n![Screenshot_2022-06-01_14-41-13](https://user-images.githubusercontent.com/54184905/171396423-10acefd8-8ab3-423d-aa0a-e1cfdc5893d0.png)\n\n**Put :⇂**\n\n**tbl_product** tablosunda id ile item güncelleme⇂\n[http://localhost:8080/api/updateProduct](http://localhost:8080/api/updateProduct)\n```json\n{\n    \"id\":1,\n    \"name\":\"Mavi Tshort\",\n    \"price\":250.20,\n    \"product_attributes\":1,\n    \"product_catalog_id\":1\n}\n```\n![Screenshot_2022-06-01_14-45-34](https://user-images.githubusercontent.com/54184905/171397179-1bf948a0-13d0-4405-ad16-bfacdf03611b.png)\n\n**Delete :⇂**\n\n**tbl_product** tablosunda id ile item silme⇂\n[http://localhost:8080/api/deleteProduct](http://localhost:8080/api/deleteProduct)\n```\nhttp://localhost:8080/api/deleteProduct?id=1\n```\n![Screenshot_2022-06-01_14-47-56](https://user-images.githubusercontent.com/54184905/171397648-555094a6-4592-41de-a756-77653752e871.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetfurkandemir%2Fboyner-case-study","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetfurkandemir%2Fboyner-case-study","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetfurkandemir%2Fboyner-case-study/lists"}