Professional corporate website for Zuclubit - Complete Technology Integration Platform.
This project follows a modern, serverless architecture:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā CloudFlare CDN (330+ Global Locations) ā
ā - HTTPS/SSL ā
ā - DDoS Protection ā
ā - WAF (Web Application Firewall) ā
āāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā CloudFlare Pages ā
ā - Static Site Hosting ā
ā - Edge Functions ā
ā - Auto Deployment ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Benefits:
# Clone the repository
git clone https://github.com/Osvaloismtz/zuclubit-site.git
cd zuclubit-site
# Install dependencies
npm install
# Start development server
npm run dev
Visit http://localhost:5173
# Production build
npm run build
# Preview production build
npm run preview
We use GitFlow for branch management:
main (production)
āāā develop (integration)
āāā feature/* (new features)
āāā bugfix/* (bug fixes)
āāā refactor/* (improvements)
git checkout develop
git pull origin develop
git checkout -b feature/my-feature
# Make changes
git add .
git commit -m "feat: add my feature"
git push origin feature/my-feature
# Create PR to develop
š See GITFLOW.md for complete workflow documentation
We welcome contributions! Please read our CONTRIBUTING.md guide.
# Development
npm run dev # Start dev server
npm run build # Build for production
npm run preview # Preview production build
# Code Quality
npm run lint # Lint code
npm run lint:fix # Fix lint errors
npm run format # Format code with Prettier
npm run format:check # Check formatting
# Testing
npm test # Run tests
npm run test:watch # Run tests in watch mode
npm run test:coverage # Generate coverage report
# Utilities
npm run clean # Clean build artifacts
npm run audit # Security audit
Security is a top priority. We implement:
š Report vulnerabilities: SECURITY.md
1. Security Scan (CodeQL, Trivy, Semgrep)
2. Code Quality Check (ESLint, Prettier)
3. Build Verification
4. Tests
5. Preview Deployment
ā https://preview-{PR-number}.zuclubit-site.pages.dev
1. All CI Checks
2. Production Build
3. Deploy to CloudFlare Pages
ā https://zuclubit.com
ā https://www.zuclubit.com
ā https://zuclubit-site.pages.dev
4. Performance Audit (Lighthouse)
| Workflow | Trigger | Purpose |
|---|---|---|
ci.yml |
PR, Push to develop | Build, test, quality checks |
deploy.yml |
Merge to main | Production deployment |
security.yml |
Daily, PR, Push | Security scanning |
performance.yml |
PR to main | Lighthouse audit |
auto-merge.yml |
Dependabot PR | Auto-merge minor updates |
zuclubit-site/
āāā .github/
ā āāā workflows/ # GitHub Actions
ā āāā ISSUE_TEMPLATE/ # Issue templates
ā āāā PULL_REQUEST_TEMPLATE.md
ā āāā CODEOWNERS # Code ownership
āāā src/
ā āāā components/ # Svelte components
ā ā āāā ui/ # UI components
ā āāā lib/ # Utility functions
ā āāā assets/ # Static assets
ā āāā App.svelte # Root component
ā āāā main.js # Entry point
āāā public/ # Public assets
āāā legacy/ # Legacy scripts & docs
ā āāā scripts/ # Manual deployment scripts
ā āāā docs/ # Old documentation
āāā .eslintrc.cjs # ESLint configuration
āāā .prettierrc # Prettier configuration
āāā .lighthouserc.json # Lighthouse CI config
āāā vite.config.js # Vite configuration
āāā wrangler.toml # CloudFlare Pages config
āāā GITFLOW.md # GitFlow documentation
āāā CONTRIBUTING.md # Contribution guidelines
āāā SECURITY.md # Security policy
āāā README.md # This file
| File | Purpose |
|---|---|
vite.config.js |
Vite build configuration |
wrangler.toml |
CloudFlare Pages settings |
.eslintrc.cjs |
ESLint rules |
.prettierrc |
Code formatting rules |
.lighthouserc.json |
Performance budgets |
package.json |
Dependencies & scripts |
For local development, create a .env file:
# Not required for this project currently
# Add environment variables as needed
For production, configure in CloudFlare Pages dashboard:
MIT License - see LICENSE file for details
Built with ā¤ļø by Zuclubit Team
Last Updated: 2025-11-09