- Öğrenci: [Ad Soyad] - B231200372
- Proje: ISE309 - Seçenek 1 (İkinci El Eşya Satış)
- Platform: ASP.NET Core 8.0 (LTS)
- Veritabanı: SQLite + EF Core Code-First
✅ Kullanıcı (User): Register/Login + Ürün ekle (resim yükleme) + Kendi ürünlerini düzenle/sil + Listele/filtrele
✅ Admin: Kategori CRUD + Ürün moderasyon (Onay/Red/GeriAl/Sil)
⭐ Bonus: TCMB Kur API + Soft Delete + Dinamik rozetler
Admin: b231200372@ogr.sakarya.edu.tr / bsm1
User: 2@gmail.com / bsm
URL: https://localhost:7xxx
| Kriter | Uygulama | Dosya |
|---|---|---|
| Identity + Roles | Register/Login + [Authorize(Roles="Admin")] |
Program.cs |
| EF Core Code-First | Entities + Migrations | Models/* |
| MVC + Service Layer | Controller → Service → DbContext | Services/ProductService.cs |
| Dependency Injection | Constructor injection | Program.cs |
| ViewModels (DTO) | Validation + IFormFile |
ViewModels/ProductViewModel.cs |
| File Upload | Resim → wwwroot/uploads | ProductService.SaveProductAsync() |
- TCMB XML API: Anlık Dolar/Euro kuru (
ProductController.Details) - Admin Moderasyon: Onay/Red/GeriAl akışı
- Duplicate Kontrol: Aynı ilan tekrar eklenemez