- Database schema: Extended calls/call_participants tables, added turn_credentials - Backend: callService (390+ lines), 7 REST API endpoints, WebSocket signaling - Frontend: WebRTC manager utility, Call React component with full UI - Features: 1-on-1 calls, group calls, screen sharing, media controls - Security: TURN credentials with HMAC-SHA1, 24-hour TTL - Documentation: PHASE4-CALLS.md with complete setup guide - Testing: Server running successfully with all routes loaded
22 lines
No EOL
637 B
Text
22 lines
No EOL
637 B
Text
# Database Configuration
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/aethex_passport
|
|
|
|
# Server Configuration
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# Blockchain Configuration (for .aethex domain verification)
|
|
RPC_ENDPOINT=https://polygon-mainnet.infura.io/v3/YOUR_INFURA_KEY
|
|
FREENAME_REGISTRY_ADDRESS=0x... # Freename contract address
|
|
|
|
# JWT Secret (for authentication)
|
|
JWT_SECRET=your-secret-key-here
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
# TURN Server Configuration (for WebRTC NAT traversal)
|
|
TURN_SERVER_HOST=turn.example.com
|
|
TURN_SERVER_PORT=3478
|
|
TURN_SECRET=your-turn-secret-key
|
|
TURN_TTL=86400 |