Lab bootstrap scripts exercise CRM PHP, Node redirector, health endpoints, and
MySQL analytics on 10.10.50.17. Bearer auth is checked before session dev-login;
redirector reads CRM_API_URL at fetch time so dotenv applies correctly.
Paperclip-Task: BIT-24693
Paperclip-Run: 3467cbf0-a91f-4cb0-808a-ccb043de28d3
Co-authored-by: Cursor <[email protected]>
SEV-1: Remove hardcoded credentials per BIT-1876 credential safety rules.
Changes:
- moneyflix.config: Remove DB_PASS and API_KEY plaintext values
- nodejs-redirector/ecosystem.config.cjs: Use process.env for sensitive credentials
- README_MONEYFLIX.md: Replace real credentials with placeholders
- nodejs-redirector/README.md: Replace real credentials with placeholders
- README.md: Replace real credentials with placeholders
- docs/MONEYFLIX_CLIENT_CONFIGURATION.md: Replace real credentials with placeholders
- docs/README.md: Replace real credentials with placeholders
- crm/README.md: Replace real credentials with placeholders
- Add credentials-hygiene-plan.md for reference
Note: This removes credentials from Git but does NOT change production values.
Production credential rotation requires explicit human approval.
Paperclip-*:
- Issue: BIT-24692
- Agent: e34f1b0f-62db-487c-8584-f6a47203f7b5
- UrlKey: nelson-baptista
- Add source maps and license files for compiled assets
- Add debug and test files for development
- Complete Git repository with all necessary files for MoneyFlix project
- Add PublicCampaignsController for public campaign analytics
- Add public routes for /public/analytics/{slug} and /api/campaigns/{slug}
- Add public campaign analytics view with charts and KPIs
- Support for campaign sharing via custom slugs
- Real-time analytics with ApexCharts integration
- Added nodejs-redirector/README.md with complete Node.js documentation
- Added crm/README.md with CRM code reference documentation
- Created deploy-moneyflix.sh for complete system deployment
- Added moneyflix.config for centralized configuration
- Updated main README with new documentation structure
- Enhanced sync-from-crm.sh for better organization
- Added comprehensive troubleshooting and monitoring guides
This provides complete isolation from the main CRM project with:
- Dedicated documentation for each component
- Independent deployment scripts
- Centralized configuration management
- Complete troubleshooting guides
- Self-contained development environment
- Created dedicated nodejs-redirector/ folder for Node.js application
- Moved all Node.js files to nodejs-redirector/ directory
- Kept CRM PHP code in crm/ folder for clear separation
- Updated README_MONEYFLIX.md with new organized structure
- Updated sync-from-crm.sh script to work with new structure
- Improved project organization for better maintainability
This provides clear separation between:
- Node.js redirector application (nodejs-redirector/)
- CRM PHP code reference (crm/)
- Project documentation and scripts (root level)