Proje: OkulUp API
OkulUp API — Conventions
Bu klasördeki tüm notların hub’ı. Her yeni not buraya link vermeli ([[OkulUp API — Conventions]]).
Notlar
- api-kod-konvansiyonlari — PHP strict_types, controller/model/resource pattern’leri
- api-authentication-pattern — Sanctum token, device_name, seeder kullanıcıları
- dashboard-cache-pattern — 2dk Redis cache, key stratejisi, hesaplama metodları
- openapi-dokumantasyon — L5 Swagger, commit öncesi generate komutu
- test-konvansiyonlari — PHPUnit, CI-only, RefreshDatabase + seed, test dizini yapısı
- demo-seeder-kullanicilari — demo.key@okul.com.tr, password, sınıf haritası
- composer-ve-artisan-scriptleri — commit checklist, api:generate, phpstan, pint
- classmodel-naming-gotcha — PHP reserved word, $table=‘classes’, relationship naming