af2c01dbee
- 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>
17 lines
521 B
Bash
17 lines
521 B
Bash
# Bu dosyayı .env olarak kopyalayın: cp .env.example .env
|
||
|
||
# Yerel MongoDB (docker-compose.dev.yml, tek düğümlü replica set, port 27020)
|
||
MONGODB_URI=mongodb://localhost:27020/kakeibo_dev?replicaSet=rs0&directConnection=true
|
||
|
||
# JWT imzalama anahtarı (en az 32 karakter; üretmek için: openssl rand -hex 32)
|
||
JWT_SECRET=degistir-beni-en-az-32-karakterlik-gizli-anahtar
|
||
|
||
# Uygulamanın erişildiği adres
|
||
APP_URL=http://localhost:5173
|
||
|
||
# Backend portu
|
||
PORT=8080
|
||
|
||
# Log seviyesi
|
||
RUST_LOG=kakeibo=debug,tower_http=info
|