{"id":22173220,"url":"https://github.com/huseyinerdin/tobuyapi","last_synced_at":"2025-03-24T17:45:28.208Z","repository":{"id":117035037,"uuid":"601684796","full_name":"huseyinerdin/ToBuyAPI","owner":"huseyinerdin","description":"Identity ve token bazlı doğrulama ve yetkilendirme sistemi bulunan, OOP ve SOLID kurallarının uygulandığı bir ASP.NET WEB API projesidir. Onion mimarisi kullanılmıştır.","archived":false,"fork":false,"pushed_at":"2023-02-28T12:40:09.000Z","size":25069,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T22:32:52.388Z","etag":null,"topics":["asp-net","csharp","entity-framework","identity","jwt","onion-architecture","oop","solid","webapi"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huseyinerdin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-02-14T15:45:07.000Z","updated_at":"2024-02-29T11:14:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e6bc6e2-a63c-4e21-b855-a02f404e659d","html_url":"https://github.com/huseyinerdin/ToBuyAPI","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/huseyinerdin%2FToBuyAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huseyinerdin%2FToBuyAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huseyinerdin%2FToBuyAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huseyinerdin%2FToBuyAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huseyinerdin","download_url":"https://codeload.github.com/huseyinerdin/ToBuyAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245320396,"owners_count":20596171,"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":["asp-net","csharp","entity-framework","identity","jwt","onion-architecture","oop","solid","webapi"],"created_at":"2024-12-02T07:31:20.974Z","updated_at":"2025-03-24T17:45:28.185Z","avatar_url":"https://github.com/huseyinerdin.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ToBuyAPI Projesi\nBu repo [Univera](https://www.univera.com.tr/) firmasının [Patika](https://www.patika.dev/tr) üzerinden açmış olduğu hiring challange kapsamında oluşturulmuştur. İçerisinde bir adet Readme dosyası ve Asp.Net Web API projesi bulunmaktadır.\n\n## Kurulum\n```\ngit clone https://github.com/huseyinerdin/ToBuyAPI.git\n```\n\n## Kullanımı\nProje kurulumu yapıldıktan sonra Package Manager Console üzerinden update-database işlemi yapılarak database oluşturulmalıdır.\n```\nupdate-database\n```\n![](./update-database.PNG)\n\n### Swagger Kullanımı\nProje kapsamında authentication ve authorization yapılanması bulunduğundan dolayı endpointler üzerinden istek atabilmek için login işlemi yapılmalıdır. Ardından giriş yapılan hesabın yetkileri dahilinde endpointler kullanılabilmektedir.\n\n![](./login-register.PNG)\n\nLogin işlemi yapıldıktan sonra authorization işlemi yapılması için gelen response nesnesi içerisinden accessToken kopyalanarak swagger içerisinde oluşturulan authorization yapısına girilmelidir.\n\n![](./login-response.PNG)\n![](./authorization.PNG)\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuseyinerdin%2Ftobuyapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuseyinerdin%2Ftobuyapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuseyinerdin%2Ftobuyapi/lists"}