feat(altyapı): yerel MongoDB, Axum backend ve Vite frontend iskeleti

- docker-compose.dev.yml: MongoDB 7, tek düğümlü replica set (port 27020)
- Backend: Axum + tokio, GET /api/health
- Frontend: React + TypeScript + Vite, /api proxy, geçici durum ekranı
- Kök package.json: npm run dev ile DB + backend + frontend
- backend/api.http örnek istekler

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 23:01:14 +03:00
parent 204c120f4f
commit af2c01dbee
23 changed files with 3103 additions and 9 deletions
+6 -2
View File
@@ -54,9 +54,13 @@ npm run dev:host # telefondan test için ağa aç
npm run db:up # yerel MongoDB (Docker)
npm run db:down
npm run db:seed / db:reset
npm test
npm test # backend testleri
npm run lint # clippy + oxlint
```
*(Komutlar Faz 0 – Adım 4'te tanımlanacak.)*
- `npm run dev` öncesinde DB otomatik başlar (`predev`).
- Yerel MongoDB host portu **27020** (27017 sistem mongod, 27018/27019 diğer projeler).
- Frontend lint: **oxlint** (Vite şablonu varsayılanı; ESLint yerine).
- API örnekleri: `backend/api.http`
## Ortam
- Geliştirme makinesi: CachyOS (Arch), fish kabuğu, VS Code