Major architectural improvements: - Auto-generate SSL certificates on first startup with OpenSSL - Dual HTTP (8081) + HTTPS (8443) backend API servers - Frontend auto-detects protocol and uses appropriate API endpoint - Fix database ORM initialization race condition with getDb() pattern - WebSocket authentication with JWT verification during handshake - Zero-config .env file generation for production deployment - Docker and nginx configurations for container deployment Technical fixes: - Eliminate module initialization race conditions in database access - Replace direct db imports with safer getDb() function calls - Automatic HTTPS frontend development server (npm run dev:https) - SSL certificate generation with termix.crt/termix.key - Cross-platform environment variable support with cross-env This enables seamless HTTP→HTTPS upgrade with zero manual configuration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
451 B
Bash
14 lines
451 B
Bash
# Termix Auto-generated Configuration
|
|
|
|
|
|
# Security Keys (Auto-generated)
|
|
DATABASE_KEY=27c23eaeb0152612752072c289a85f48bf8f5ffa9a2086f114794bce6f919bfb
|
|
|
|
# SSL Configuration (Auto-generated)
|
|
ENABLE_SSL=true
|
|
SSL_PORT=8443
|
|
SSL_CERT_PATH=C:\Users\29037\WebstormProjects\Termix\ssl\termix.crt
|
|
SSL_KEY_PATH=C:\Users\29037\WebstormProjects\Termix\ssl\termix.key
|
|
SSL_DOMAIN=localhost
|
|
JWT_SECRET=c7ee764f9174c4eaee716383147b84f701476458d1489c06e0f34ee9915cd419
|