FFAIR.GIFTS Sandbox - Node.js Test Deployment Package =================================================== Deployment Date: 25/07/2025 Purpose: Test Node.js functionality on hosting environment Target URL: https://ffair.gifts/sandbox Files included: - package.json (Dependencies) - package-lock.json (Locked dependencies) - server.js (Express.js web server) - test.js (Standalone Node.js test) - README.md (Documentation) - .htaccess (Apache configuration) Deployment Instructions: 1. Upload all contents of this deployment folder to your hosting 2. Ensure the folder is accessible at: https://ffair.gifts/sandbox 3. SSH into your server and navigate to the sandbox directory 4. Run: npm install --production 5. Run: npm start 6. Test at: https://ffair.gifts/sandbox Testing: - Run 'node test.js' to test Node.js functionality - Visit the web interface for interactive tests - Check all API endpoints are responding Success Criteria: - All standalone tests pass - Web server starts without errors - All API endpoints respond correctly - Interactive tests work - No console errors Next Steps: - If sandbox test passes, deploy the full FFAIR.GIFTS application - Use the main deployment scripts for production Support: - Check server logs for errors - Verify Node.js is installed on hosting - Ensure port 3000 is available