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
+15
View File
@@ -0,0 +1,15 @@
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
strictPort: true,
// /api istekleri Rust backend'e yönlenir → aynı origin, CORS gerekmez
proxy: {
'/api': 'http://localhost:8080',
},
},
})