Prepare application for production deployment with enhanced voice features
Adds production environment configuration, global type declarations, and enhances voice recognition error handling and result processing. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ff0be73b-afdd-4747-978b-bb8301fb0a82 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/4b7360ad-65af-421c-ae9c-12d0b5534ad8.jpg
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Production Environment Configuration
|
||||
NODE_ENV=production
|
||||
PORT=5000
|
||||
|
||||
# Database Configuration (will be set by deployment platform)
|
||||
DATABASE_URL=
|
||||
|
||||
# Security Configuration
|
||||
SESSION_SECRET=your-production-session-secret-here
|
||||
BCRYPT_ROUNDS=12
|
||||
|
||||
# API Keys (to be provided via deployment secrets)
|
||||
ANTHROPIC_API_KEY=
|
||||
OPENAI_API_KEY=
|
||||
|
||||
# Application Configuration
|
||||
APP_NAME=MenAssist
|
||||
APP_VERSION=1.0.0
|
||||
CORS_ORIGIN=https://your-domain.replit.app
|
||||
|
||||
# Voice Processing Configuration
|
||||
VOICE_ENABLED=true
|
||||
TTS_ENABLED=true
|
||||
VOICE_TIMEOUT=30000
|
||||
|
||||
# AI Configuration
|
||||
AI_ENABLED=true
|
||||
AI_MODEL_PATH=./models/ai/base-llm
|
||||
DAILY_JOKE_CACHE_TTL=86400
|
||||
|
||||
# Logging Configuration
|
||||
LOG_LEVEL=info
|
||||
LOG_FORMAT=json
|
||||
|
||||
# Performance Configuration
|
||||
CACHE_TTL=3600
|
||||
MAX_UPLOAD_SIZE=10mb
|
||||
REQUEST_TIMEOUT=30000
|
||||
Reference in New Issue
Block a user