feat(katalog): kategori ve ödeme türü uç noktaları, hane izolasyonu entegrasyon testleri
- /api/categories ve /api/payment-methods: listele, ekle, düzenle, sırala, pasife al - Sürüm kontrolü ile eşzamanlı düzenleme çakışması (409) - Backend lib + bin yapısına ayrıldı (entegrasyon testleri için) - tests/: hane izolasyonu (3) ve katalog (4) entegrasyon testleri - db:reset artık artık test veritabanlarını da siler - api.http tamamlandı; Faz 1 tamamlandı Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
||||
"db:up": "docker compose -f docker-compose.dev.yml up -d --wait",
|
||||
"db:down": "docker compose -f docker-compose.dev.yml stop",
|
||||
"db:seed": "echo 'Seed betiği Faz 1-4 arasında eklenecek.'",
|
||||
"db:reset": "docker exec kakeibo-mongo mongosh --quiet kakeibo_dev --eval 'db.dropDatabase()' && echo 'kakeibo_dev veritabanı sıfırlandı.'",
|
||||
"db:reset": "docker exec kakeibo-mongo mongosh --quiet --eval \"db.getSiblingDB('kakeibo_dev').dropDatabase(); db.adminCommand({listDatabases:1}).databases.filter(d => d.name.startsWith('kakeibo_test_')).forEach(d => db.getSiblingDB(d.name).dropDatabase()); print('kakeibo_dev ve test veritabanları sıfırlandı.')\"",
|
||||
"test": "cd backend && cargo test",
|
||||
"lint": "cd backend && cargo clippy && cd .. && npm --prefix frontend run lint"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user