update deploy

This commit is contained in:
bulut
2026-03-27 10:41:54 +03:00
parent 69d19c0176
commit 6f6448aa06
422 changed files with 37956 additions and 0 deletions

25
TODO.md Normal file
View File

@@ -0,0 +1,25 @@
# Boğaziçi Platform - Entegrasyon Düzeltmeleri
## 🔴 KRİTİK
- [x] **1. `.env` dosyasını düzelt**`.env.example`'dan yeniden oluşturuldu, APP_KEY generate edildi
- [x] **2. Web form endpoint'ini düzelt** — Next.js API route `/api/basvuru/route.ts` oluşturuldu, FormData → JSON dönüşümü yapıp backend'e proxy'liyor
- [x] **3. Web form alan adlarını düzelt** — Tüm formlarda: `ad``name`, `course``target_course`, `education``education_level`, `source` hidden field + `kvkk_consent` checkbox eklendi
- [x] **4. LeadResource alan hatalarını düzelt**`utm` JSON parse, `consent_kvkk` mapping, `notes` mapping, `email` alanı eklendi
## 🟠 YÜKSEK ÖNCELİK
- [x] **5. Factory'lerde `order` → `order_index` düzelt** — FaqFactory.php, HeroSlideFactory.php
- [x] **6. Seeder'larda `order` → `order_index` düzelt** — FaqSeeder.php, HeroSlideSeeder.php, FaqContentSeeder.php
- [x] **7. CourseScheduleResource eksik alanları** — Migration, Model, Resource güncellendi: `instructor`, `enrolled_count`, `price_override`, `status`, `notes` eklendi
- [x] **8. Web'de kullanılmayan API endpoint'lerini entegre et**`api.ts`'e `getGuideCards()`, `getComments()`, `getSitemapData()` fonksiyonları eklendi
## 🟡 DÜŞÜK ÖNCELİK
- [x] **9. Admin'den çağrılmayan endpoint'ler**`apiResource` otomatik endpoint'leri, zararsız, atlandı
## ✅ DOĞRULAMA
- [x] **10. Testleri çalıştır ve geçir** — 2 test geçti
- [x] **11. Seed çalıştır ve doğrula** — Tüm seeder'lar sorunsuz çalıştı
- [x] **12. Web formlarını uçtan uca test et** — Lead API'ye curl ile tam form gönderildi, DB'ye doğru düştüğü ve LeadResource'un doğru döndüğü doğrulandı