{"id":21275815,"url":"https://github.com/daddydemir/kirtasite-backend","last_synced_at":"2026-05-15T08:39:16.248Z","repository":{"id":53141548,"uuid":"471675489","full_name":"daddydemir/Kirtasite-Backend","owner":"daddydemir","description":"Bu projede kullanılan veri tabanı büyük ölçüde değiştirildiği için proje yeniden geliştirilmeye başlanmıştır, profilimden ulaşabilirsiniz.","archived":false,"fork":false,"pushed_at":"2022-08-15T10:40:50.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T13:13:57.012Z","etag":null,"topics":["api","backend","go","gorm","hash","jwt","mux","mysql","rest"],"latest_commit_sha":null,"homepage":"","language":"Go","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/daddydemir.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":"security/hash.go","support":null}},"created_at":"2022-03-19T11:28:04.000Z","updated_at":"2022-08-16T13:29:21.000Z","dependencies_parsed_at":"2022-08-21T14:00:22.785Z","dependency_job_id":null,"html_url":"https://github.com/daddydemir/Kirtasite-Backend","commit_stats":null,"previous_names":["daddydemir/kirtasiye-projesi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daddydemir/Kirtasite-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daddydemir%2FKirtasite-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daddydemir%2FKirtasite-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daddydemir%2FKirtasite-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daddydemir%2FKirtasite-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daddydemir","download_url":"https://codeload.github.com/daddydemir/Kirtasite-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daddydemir%2FKirtasite-Backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262685617,"owners_count":23348447,"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","backend","go","gorm","hash","jwt","mux","mysql","rest"],"created_at":"2024-11-21T09:38:22.949Z","updated_at":"2025-10-10T02:02:47.135Z","avatar_url":"https://github.com/daddydemir.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kırtasiye Projesi\n\n\n\u003e Bu projede kullanılan veritabanı büyük ölçüde değiştirildiği için proje [bu adreste](https://github.com/daddydemir/Kirtasite) geliştirilmeye devam etmektedir.\n\nBu proje;\n\n- Mobil\n- Backend\n- Frontend\n\n'den oluşmaktadır.\n\n## API Docs\n\n**USER**\n\n1. GetAllUsers\n    - Method : GET\n    - `/api/users`\n2. GetUserById\n    - Method : GET\n    - `/api/users/{id}`\n3. AddUser\n    - Method : POST\n    - `/api/users`\n4. UpdateUser\n    - Method : PUT\n    - `/api/users/{id}`\n5. DeleteUser\n    - Method : DELETE\n    - `/api/users/{id}`\n6. UpdateImage\n    - Method : PUT\n    - `/api/users/{id}`\n\n### Request Body\n\n``` json\n{\n    \"username\":\"\",\n    \"password\":\"\",\n    \"image_path\":\"\",\n    \"mail\":\"\",\n    \"tel_no\":\"\",\n    \"role_id\":0\n}\n```\n\n**STATIONERY**\n\n1. GetAllStationery\n    - Method : GET\n    - `/api/stationery`\n2. GetStationeryById\n    - Method : GET\n    - `/api/stationery/{id}`\n3. AddStationery\n    - Method : POST\n    - `/api/stationery`\n4. UpdateStationery\n    - Method : PUT\n    - `/api/stationery/{id}`\n5. DeleteStationery\n    - Method : DELETE\n    - `/api/stationery/{id}`\n6. UpdateStationery\n    - Method : PUT\n    - ``/api/stationery/{id}`\n\n### Request Body\n\n```json\n{\n    \"role_id\":0,\n    \"company_name\":\"\",\n    \"password\":\"\",\n    \"image_path\":\"\",\n    \"mail\":\"\",\n    \"tel_no\":\"\",\n    \"address_id\":0,\n    \"score\":0\n}\n```\n\n**ROLES**\n\n1. GetAllRoles\n    - Method : GET\n    - `/api/roles`\n\n### Response Body\n\n```json\n{\n    \"id\":\"\"\n    \"name\":\"\"\n}\n```\n\n**FILES**\n\n1. GetFileByUserId\n    - Method : GET\n    - `/api/files/{id}`\n2. FileDelete\n    - Method : DELETE\n    - `/api/files/{id}`\n3. FileAdd\n    - Method : POST\n    - `/api/files`\n4. FileById\n    - Method : GET\n    - `/api/file/{id}`\n\n### Request Body\n\n```json\n{\n    \"user_id\":0,\n    \"private\":true,\n    \"file_path\":\"\"\n}\n```\n\n**PRICES**\n\n1. GetAllPrices\n    - Method : GET\n    - `/api/prices`\n2. PriceById\n    - Method : GET\n    - `/api/prices/{id}`\n3. PriceAdd\n    - Method : POST\n    - `/api/prices`\n4. PriceUpdate\n    - Method : PUT\n    - `/api/prices/{id}`\n5. PriceDelete\n    - Method : DELETE\n    - `/api/prices/{id}`\n\n### Response Body\n\n```json\n{\n    \"stationery_id\":0,\n    \"info\":\"\",\n    \"price\":0\n}\n```\n\n**ORDERS**\n\n1. OrderByUserId\n    - Method : GET\n    - `/api/orders/user/{id}`\n2. OrderByStationeryId\n    - Method : GET\n    - `/api/orders/stationery/{id}`\n3. OrderAdd\n    - Method : POST\n    - `/api/orders/`\n\n### Request Body\n\n```json\n{\n    \"file_id\":0,\n    \"user_id\":0,\n    \"stationery_id\":0,\n    \"delivery_date\":\"\",\n    \"verification_code\":\"\",\n    \"total_price\":0\n}\n```\n\n**COMMENTS**\n\n1. GetCommentByUserId\n    - Method : GET\n    - `/api/comments/user/{id}`\n2. CommentByStationeryId\n    - Method : GET\n    - `/api/comments/stationery/{id}`\n3. CommentAdd\n    - Method : POST\n    - `/api/comments/`\n\n### Request Body\n\n```json\n{\n    \"user_id\":0,\n    \"stationery_id\":0,\n    \"content\":\"\",\n    \"date\":\"\",\n    \"score\":0\n}\n```\n\n**ADDRESS**\n\n1. GetAddressById\n    - Method : GET\n    - `/api/locate/{id}`\n2. GetAddressByCity\n    - Method : GET\n    - `/api/city/{id}`\n3. GetAddressByDistrict\n    - Method : POST\n    - `/api/district/{id}`\n\n### Request Body \n\n``` json\n{\n    \"id\":0,\n    \"city_id\":0,\n    \"district_id\":0,\n    \"name\":\"\",\n    \"cordinate_x\":\"\",\n    \"cordinate_y\":\"\"\n}\n```\n\n**CITY**\n1. GetCityById\n    - Method : GET\n    - `/api/cities/{id}`\n\n### Request Body\n``` json\n{\n    \"id\":0,\n    \"name\":\"\"\n}\n```\n\n**DISTRICT**\n1. GetDistrictById\n    - Method : GET\n    - `/api/districts/{id}`\n2. GetDistrictByCity\n    - Method : GET\n    - `/api/district-city/{id}`\n\n### Response Body\n```json\n{\n    \"id\":0,\n    \"city_id\":0,\n    \"name\":\"\"\n}\n```\n\u003e NOT: Request Body POST ve PUT metodunda kullanılacak\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaddydemir%2Fkirtasite-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaddydemir%2Fkirtasite-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaddydemir%2Fkirtasite-backend/lists"}