Infrastructure Setup
Overview
Our infrastructure setup provides a foundation for development, deployment, and backup operations across all projects.
Repository Structure
Project Organization
roflfaucet/
├── README.md # Project documentation
├── package.json # Dependencies and scripts
├── Dockerfile # Container config
├── .env.example # Environment template
├── .gitignore # Git ignore rules
├── config/ # Configuration files
├── src/ # Source code
├── docs/ # Documentation
├── docker/ # Docker files
├── tests/ # Test files
└── scripts/ # Utility scripts
Repository Ecosystem
ClickForCharity Organization
├── clickforcharity-social-media-extension
├── clickforcharity-roflfaucet
├── clickforcharity-useless-token
└── clickforcharity-docs
Technical Stack
Core Technologies
- Backend: Node.js with Express
- Database: MySQL/PostgreSQL
- Lightning: LND/CLN integration
- Deployment: Docker containers
- Frontend: HTML5/CSS3/JavaScript
Security Features
- Rate limiting
- JWT authentication
- Security headers
- Environment configuration
- Container security
Backup Infrastructure
Backup Server
- Server: Servarica 1 (209.209.10.41)
- Specs: 1GB RAM, 1 vCPU, 1TB HDD RAIDz2
- Cost: $29/year
- Purpose: Centralized backup storage
Backup Strategy
- Daily automated backups
- 30-day retention
- Database dumps
- Configuration backups
- Disaster recovery
- Monitoring system
Infrastructure Costs
Annual Expenses
- Production VPS: $25/year
- Backup Server: $29/year
- Domain: $12/year
- SSL: Free (Let's Encrypt)
- Total: $66/year
Documentation Strategy
Documentation Sources
- Project wikis
- GitHub README files
- Technical documentation
- API documentation
Backup Approach
- Automated wiki backups
- Alternative hosting
- Regular updates
- Version control
Integration Features
Platform Integration
- User authentication
- Token rewards system
- API endpoints
- Statistics tracking
Revenue Model
- Token economy
- Donation allocation
- Impact tracking
- Community features