Skip to content

hsynckrl/LiveGO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 LiveGo - Canlı Maç Takip Platformu

📋 Proje Hakkında

LiveGo, canlı maç takibi, analiz paylaşımı ve kullanıcı etkileşimi sağlayan modern bir web platformudur. ASP.NET Core 9.0 ile geliştirilmiş, Clean Architecture prensiplerine uygun, güvenli ve ölçeklenebilir bir uygulamadır.

🎨 Özellikler

✅ Temel Özellikler

  • 🏆 Canlı Maç Takibi: Maçları gerçek zamanlı olarak takip edin
  • 📊 Detaylı Analizler: Uzman analizleri okuyun ve paylaşın
  • 💬 Yorum Sistemi: Maçlar hakkında yorum yapın ve tartışın
  • ❤️ Takım Takibi: Favori takımlarınızı takip edin
  • 🗳️ Tahmin Oyunu: Maç sonuçlarını tahmin edin
  • 📰 Haberler: Futbol dünyasından güncel haberler
  • 🔔 Bildirimler: Anlık bildirim sistemi
  • 👥 Kullanıcı Profilleri: Kişiselleştirilmiş profil yönetimi

🔒 Güvenlik Özellikleri

  • JWT Bearer Authentication
  • Security Headers (X-Frame-Options, CSP, HSTS, vb.)
  • Rate Limiting (DDoS koruması)
  • XSS Protection (Input Sanitization)
  • CSRF Protection
  • SQL Injection koruması (EF Core)

🎨 Tasarım Özellikleri

  • Modern ve responsive tasarım
  • Bootstrap 5.3.2
  • Gradient animasyonlar
  • Smooth transitions
  • Dark gradient navbar
  • Premium UI/UX deneyimi
  • Accessibility (WCAG) uyumlu

🏗️ Mimari

Clean Architecture Katmanları

LiveGo/
├── LiveGo.Domain/          # Entities, Enums, Value Objects
├── LiveGo.Application/     # Business Logic, Services, DTOs
├── LiveGo.Infrastructure/  # Data Access, External Services
├── LiveGo.Api/            # REST API (Backend)
└── LiveGo.Web/            # MVC Web UI (Frontend)

Teknoloji Stack

Backend:

  • ✅ .NET 9.0
  • ✅ ASP.NET Core MVC & Web API
  • ✅ Entity Framework Core 9.0
  • ✅ SQL Server
  • ✅ AutoMapper 12.0.1
  • ✅ FluentValidation 12.1.1
  • ✅ JWT Authentication
  • ✅ Swagger/OpenAPI

Frontend:

  • ✅ Bootstrap 5.3.2
  • ✅ Bootstrap Icons
  • ✅ Vanilla JavaScript (ES6+)
  • ✅ CSS3 Animations
  • ✅ Responsive Design

🚀 Kurulum ve Çalıştırma

Gereksinimler

  • .NET 9.0 SDK
  • SQL Server (LocalDB veya Express)
  • Visual Studio 2022 veya VS Code

Adımlar

  1. Projeyi klonlayın:
git clone https://github.com/yourusername/LiveGo.git
cd LiveGo
  1. Bağımlılıkları yükleyin:
dotnet restore
  1. Veritabanı bağlantı string'ini ayarlayın:
    • LiveGo.Api/appsettings.json
    • LiveGo.Web/appsettings.json
"ConnectionStrings": {
  "DefaultConnection": "Server=YOUR_SERVER;Database=LiveGoDb;Trusted_Connection=True;TrustServerCertificate=True;"
}
  1. Veritabanını oluşturun: Uygulama ilk çalıştırıldığında otomatik olarak veritabanı oluşturulacak ve seed data eklenecektir.

  2. API'yi çalıştırın:

cd LiveGo.Api
dotnet run

API: https://localhost:63195

  1. Web uygulamasını çalıştırın:
cd LiveGo.Web
dotnet run

Web: https://localhost:7xxx

Alternatif: Visual Studio ile Çalıştırma

  1. LiveGo.sln dosyasını Visual Studio ile açın
  2. Startup Projects olarak Multiple startup projects seçin:
    • LiveGo.Api → Start
    • LiveGo.Web → Start
  3. F5 ile çalıştırın

📁 Proje Yapısı

LiveGo.Domain (Domain Layer)

Entities/           # Database entities
Enums/             # Enumerations
Interfaces/        # Repository interfaces
ValueObjects/      # Value objects (Email, Phone, etc.)

LiveGo.Application (Application Layer)

Commands/          # CQRS Commands
Queries/           # CQRS Queries
Services/          # Business logic services
DTOs/              # Data Transfer Objects
Validators/        # FluentValidation validators
Interfaces/        # Service interfaces
Mappings/          # AutoMapper profiles

LiveGo.Infrastructure (Infrastructure Layer)

Data/              # DbContext, Seeding
Repositories/      # Repository implementations
External/          # External API integrations
Jobs/              # Background jobs

LiveGo.Api (API Layer)

Controllers/       # API endpoints
Middlewares/       # Custom middlewares
Filters/           # Action filters
Extensions/        # Service extensions
Config/            # Configuration classes
Responses/         # API response models

LiveGo.Web (Presentation Layer)

Controllers/       # MVC controllers
Views/             # Razor views
Models/            # View models
wwwroot/          # Static files (CSS, JS, images)
Areas/Admin/       # Admin area

🎨 Renk Paleti

/* Ana Renkler */
--dark-primary: #1a1a2e
--dark-secondary: #16213e
--dark-accent: #0f3460

/* Vurgu Renkleri */
--warning: #ffc107
--warning-alt: #ff9800

/* Gradient'ler */
Navbar/Footer: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%)
Buttons: linear-gradient(135deg, #ffc107, #ff9800)
Background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%)

🔐 API Endpoints

Authentication

  • POST /api/auth/register - Kullanıcı kaydı
  • POST /api/auth/login - Giriş
  • POST /api/auth/refresh - Token yenileme

Matches

  • GET /api/matches - Tüm maçlar
  • GET /api/matches/{id} - Maç detayı
  • GET /api/matches/today - Bugünün maçları

Analysis

  • GET /api/analysis - Tüm analizler
  • POST /api/analysis - Analiz oluştur [Auth]
  • GET /api/analysis/{id} - Analiz detayı

Comments

  • GET /api/comments/match/{matchId} - Maç yorumları
  • POST /api/comments - Yorum ekle [Auth]
  • PUT /api/comments/{id} - Yorum güncelle [Auth]
  • DELETE /api/comments/{id} - Yorum sil [Auth]

Votes

  • GET /api/votes/match/{matchId} - Maç tahminleri
  • POST /api/votes - Tahmin ekle [Auth]

Daha fazlası için Swagger dokümantasyonunu kontrol edin: https://localhost:63195/swagger

📱 Responsive Breakpoints

  • Mobile: < 576px
  • Tablet: 576px - 768px
  • Desktop: 768px - 1200px
  • Large Desktop: > 1200px

🔧 Yapılandırma

appsettings.json (API)

{
  "ConnectionStrings": {
    "DefaultConnection": "..."
  },
  "JwtSettings": {
    "Issuer": "LiveGo",
    "Audience": "LiveGoClient",
    "SecretKey": "YOUR_SECRET_KEY_MIN_32_CHARS",
    "AccessTokenExpirationMinutes": 60,
    "RefreshTokenExpirationMinutes": 1440
  },
  "ApiSettings": {
    "RateLimitPerMinute": 100,
    "EnableSwagger": true,
    "EnableDetailedErrors": true
  }
}

🧪 Test Kullanıcıları

Seed data ile otomatik oluşturulan test kullanıcıları:

📊 Performans Optimizasyonları

  • ✅ Response Caching
  • ✅ Memory Caching
  • ✅ EF Core Query Optimization
  • ✅ Lazy Loading
  • ✅ Pagination
  • ✅ Rate Limiting
  • ✅ CDN kullanımı (Bootstrap, Icons)

🛡️ Güvenlik En İyi Uygulamaları

  • ✅ HTTPS zorunluluğu
  • ✅ Secure & HttpOnly cookies
  • ✅ CORS politikaları
  • ✅ Input validation & sanitization
  • ✅ SQL Injection koruması
  • ✅ XSS koruması
  • ✅ CSRF koruması
  • ✅ Rate limiting
  • ✅ Security headers

🐛 Bilinen Sorunlar

Şu anda bilinen kritik bir sorun bulunmamaktadır. ✅

📝 Katkıda Bulunma

  1. Fork edin
  2. Feature branch oluşturun (git checkout -b feature/AmazingFeature)
  3. Değişikliklerinizi commit edin (git commit -m 'Add some AmazingFeature')
  4. Branch'inizi push edin (git push origin feature/AmazingFeature)
  5. Pull Request oluşturun

📄 Lisans

Bu proje MIT lisansı altında lisanslanmıştır.

👥 Geliştirici

LiveGo Development Team

🙏 Teşekkürler

  • Bootstrap ekibine harika framework için
  • .NET ekibine güçlü platform için
  • Tüm katkıda bulunanlara

⚡ LiveGo - Her Maç Bir Deneyim!

About

uygulama geliştirme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors