Somna AI - Deployment Guide =========================== 1. Prerequisites: - Node.js (v18 or higher) - npm 2. Environment Setup: - Copy .env.example to .env - Set FREELM_API_KEY (obtained from apifreellm.com) - Set PORT and HOST (default is 3000 and 0.0.0.0) 3. Installation: npm install 4. Build the Project: npm run build (This creates the 'dist' folder) 5. Run in Production: npm run start:prod (Or use a process manager like PM2: pm2 start dist/main.js --name somna-ai) 6. Static Files: - The backend automatically serves the frontend from the 'public' folder. - Access it at http://:/index.html 7. Troubleshooting: - Ensure the PORT is open in your server's firewall. - Check the console logs for "🚀 Beauty Assistant Backend is running!".