Files
bogazici-api/TODO.md
2026-03-27 10:41:54 +03:00

26 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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ı