first commit

This commit is contained in:
2026-01-25 23:05:41 +02:00
commit dec7844b49
48 changed files with 10815 additions and 0 deletions

47
.env.example Normal file
View File

@@ -0,0 +1,47 @@
# ============================================
# OSINT Platform Environment Configuration
# ============================================
# Copy this file to .env and configure your values
# Server Configuration
PORT=3001
NODE_ENV=production
# ===========================================
# DATABASE (MongoDB)
# ===========================================
# MongoDB Connection URI
# For local: mongodb://localhost:27017/osint_platform
# For Atlas: mongodb+srv://user:password@cluster.mongodb.net/osint_platform
MONGODB_URI=mongodb://localhost:27017/osint_platform
# ===========================================
# REQUIRED SECURITY SETTINGS
# ===========================================
# Master Password - CHANGE THIS!
# This is the only password protecting your entire platform
MASTER_PASSWORD=your_secure_master_password_here
# JWT Secret - Generate a random 64-character string
# You can use: openssl rand -hex 32
JWT_SECRET=your_jwt_secret_here_generate_with_openssl_rand_hex_32
# Session Configuration
SESSION_EXPIRY=24h
# ===========================================
# ENCRYPTION SETTINGS
# ===========================================
# Vault Encryption Key - Generate a 64-character hex string (32 bytes)
# You can use: openssl rand -hex 32
VAULT_ENCRYPTION_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
# ===========================================
# FRONTEND URL (for CORS)
# ===========================================
# Set this to your actual domain in production
FRONTEND_URL=http://localhost:3001