init commit

This commit is contained in:
2025-09-25 08:05:25 +09:00
commit 4d7551d4f1
56 changed files with 5977 additions and 0 deletions

31
.env.example Normal file
View File

@@ -0,0 +1,31 @@
# Database Configuration
DATABASE_URL=postgresql+asyncpg://admin:password@localhost:5432/women_safety
# Redis Configuration
REDIS_URL=redis://localhost:6379/0
# Kafka Configuration
KAFKA_BOOTSTRAP_SERVERS=localhost:9092
# JWT Configuration
SECRET_KEY=your-very-secret-key-change-in-production-256-bit-minimum
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# Application Configuration
APP_NAME=Women Safety App
DEBUG=True
API_V1_STR=/api/v1
# External Services
FCM_SERVER_KEY=your-fcm-server-key-here
# Security
CORS_ORIGINS=["http://localhost:3000", "http://localhost:8080", "https://yourdomain.com"]
# Location Settings
MAX_EMERGENCY_RADIUS_KM=1.0
# Production Settings (uncomment for production)
# DEBUG=False
# CORS_ORIGINS=["https://yourdomain.com"]