https://github.com/muhammedilan/jsonwebtokensecurityapi
Entity Framework Core, SQL Server ve JSON Web Token yapıları ile register, login, authentication, authorization, role-based authorization ve refresh token işlemlerini gerçekleştirdim.
https://github.com/muhammedilan/jsonwebtokensecurityapi
asp-net-core-web-api authentication authorization csharp dotnet entity-framework-core json-web-token microsoft-sql-server refresh-token role-based-authorization scalar visual-studio
Last synced: about 1 month ago
JSON representation
Entity Framework Core, SQL Server ve JSON Web Token yapıları ile register, login, authentication, authorization, role-based authorization ve refresh token işlemlerini gerçekleştirdim.
- Host: GitHub
- URL: https://github.com/muhammedilan/jsonwebtokensecurityapi
- Owner: muhammedilan
- Created: 2025-05-06T19:08:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-14T12:47:52.000Z (about 1 year ago)
- Last Synced: 2025-07-31T00:26:56.195Z (11 months ago)
- Topics: asp-net-core-web-api, authentication, authorization, csharp, dotnet, entity-framework-core, json-web-token, microsoft-sql-server, refresh-token, role-based-authorization, scalar, visual-studio
- Language: C#
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Proje Başlığı
Entity Framework Core, SQL Server ve JSON Web Token yapıları ile register, login, authentication, authorization, role-based authorization ve refresh token işlemlerini gerçekleştirdim.
Projede API dokümantasyonu için Scalar kullandım ve Git commit'lerini temiz ve düzenli tuttum.
## Kullanılan Teknolojiler
- C#
- .NET 9.0
- Visual Studio
- ASP.NET Core Web API
- Scalar API Documentation
- Entity Framework Core 9.0
- Microsoft SQL Server
- JSON Web Token
## Ekran Görüntüleri

## Ortam Değişkenleri
Bu projeyi çalıştırmak için aşağıdaki ortam değişkenlerini appsettings.Development.json dosyanıza eklemeniz gerekecek
- Not: Gerçek proje geliştirme ortamında gizli bilgilerin development ortamındayken secrets.json'da ve production ortamındayken environment variables olarak verilmesi daha doğrudur. Ancak örnek bir proje yaptığım için bilerek appsettings.Development.json'a gizli bilgileri yerleştirdim.
`ConnectionStrings__UserDatabase`
`AppSettings__Token`
`AppSettings__Issuer`
`AppSettings__Audience`
## Bilgisayarınızda Çalıştırın
Projeyi klonlayın
```bash
git clone https://github.com/muhammedilan/JsonWebTokenSecurityAPI.git
```
Proje dizinine gidin
```bash
cd JsonWebTokenSecurityAPI
```
Gerekli paketleri yükleyin
```bash
dotnet restore
```
Veritabanını hazırlayın
```bash
dotnet ef database update
```
Sunucuyu çalıştırın
```bash
dotnet run
```
## Geri Bildirim
Herhangi bir geri bildiriminiz varsa, lütfen muhammed.ilan.se@gmail.com adresinden bize ulaşın.