Files
kakeibo/.env.example
T
suphicakir e188922c0f feat(kayıt): yeni hane kaydı yalnızca davetle (REGISTRATION=invite_only)
- REGISTRATION ortam değişkeni: invite_only (varsayılan) | open
- invite_only: ilk hane serbest, sonrasında yalnızca davet koduyla katılım
- Backend'de zorunlu: 403 registration_closed; GET /api/auth/registration
- Kayıt ekranı: kayıt kapalıyken yalnızca davet kodu ve açıklama
- Entegrasyon testleri: kayıt politikası (2)
- Prettier ayarı eklendi (proje stiliyle uyumlu), kaynaklar biçimlendirildi

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 01:04:48 +03:00

23 lines
830 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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
# Yeni hane kaydı: invite_only (varsayılan, önerilen) | open
# invite_only → sistemde hiç hane yokken ilk kayıt yeni hane kurar (sunucu sahibi),
# sonra yalnızca davet koduyla katılınır.
# open → herkes /kayit ekranından yeni hane kurabilir.
REGISTRATION=invite_only
# Backend portu
PORT=8080
# Log seviyesi
RUST_LOG=kakeibo=debug,tower_http=info