- Add POST /v1/voice/token endpoint for 11Labs voice authentication - Integrate RevenueCat subscription validation (pro entitlement required) - Skip paywall in development (NODE_ENV=development) - Fetch 11Labs conversation tokens for authorized users - Return allowed:false for users without subscription - Add NODE_ENV=development to .env.dev for local testing Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
27 lines
738 B
Plaintext
27 lines
738 B
Plaintext
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/handy
|
|
HANDY_MASTER_SECRET=your-super-secret-key-for-local-development
|
|
PORT=3005
|
|
|
|
# Metrics server configuration
|
|
METRICS_ENABLED=true
|
|
METRICS_PORT=9090
|
|
|
|
# Uncomment to enable centralized logging for AI debugging (creates .logs directory)
|
|
DANGEROUSLY_LOG_TO_SERVER_FOR_AI_AUTO_DEBUGGING=true
|
|
|
|
# --- Local S3/MinIO ---
|
|
# Defaults for local MinIO started via `yarn s3`
|
|
S3_HOST=localhost
|
|
S3_PORT=9000
|
|
S3_USE_SSL=false
|
|
S3_ACCESS_KEY=minioadmin
|
|
S3_SECRET_KEY=minioadmin
|
|
S3_BUCKET=happy
|
|
S3_PUBLIC_URL=http://localhost:9000/happy
|
|
|
|
# --- Voice Feature ---
|
|
# 11Labs API for voice conversations (required for voice feature)
|
|
# Secret - congiured in .env, not checked in
|
|
|
|
NODE_ENV=development
|