A comprehensive operations management platform for ICT/electrical contracting businesses with WordPress plugin and React Native mobile app. Integrates with Zoho's suite of services (CRM, FSM, Books, People, Desk) for complete business management.
ZOHOQW/
├── wp-ict-platform/ # WordPress Plugin
│ ├── admin/ # Admin area functionality
│ ├── api/ # REST API controllers
│ ├── includes/ # Core classes & integrations
│ ├── public/ # Public-facing functionality
│ └── src/ # React/TypeScript frontend
│
├── ict-mobile-app/ # React Native Mobile App
│ ├── src/
│ │ ├── screens/ # 18 screen components
│ │ ├── navigation/ # React Navigation setup
│ │ ├── services/ # API & location services
│ │ ├── store/ # Redux Toolkit state
│ │ └── types/ # TypeScript definitions
│ └── App.tsx # Root component
│
└── docs/ # Documentation
- ✅ Project Management - Complete project lifecycle tracking
- ✅ Time Tracking - Clock in/out with GPS, approval workflows
- ✅ Resource Management - Technician allocation, skills matrix, calendar
- ✅ Inventory Management - Stock tracking, reorder alerts
- ✅ Procurement - Purchase order workflow with approval
- ✅ Reports & Analytics - Custom dashboards with charts
- ✅ Zoho Integration - Bidirectional sync with CRM, FSM, Books, People, Desk
/ict/v1/auth/* - JWT authentication
/ict/v1/projects/* - Project & task management
/ict/v1/time/* - Time tracking & clock operations
/ict/v1/location/* - GPS tracking & history
/ict/v1/expenses/* - Expense submission & receipts
/ict/v1/schedule/* - Events & calendar
/ict/v1/inventory/* - Stock management
/ict/v1/purchase-orders/* - PO workflow
/ict/v1/resources/* - Resource allocation
/ict/v1/reports/* - Analytics & reports
- 🔐 Authentication - JWT with auto-refresh
- ⏱️ Time Tracking - Live timer, clock in/out with GPS
- 📍 Background GPS - Tracks location every 5 minutes while clocked in
- 🔔 Smart Reminders - Auto-prompts task change when >0.5 miles away for >30 min
- 📊 Projects & Tasks - View and update project information
- 💰 Expenses - Submit expenses with receipt photos
- 📁 File Management - Upload to Zoho WorkDrive
- 📅 Schedule - View events and assignments
- 🔔 Push Notifications - Task reminders and alerts
- Auth: Login, Forgot Password
- Dashboard: Home with quick stats
- Time: Clock, Entries List, Entry Detail
- Projects: List, Project Detail, Task Detail
- Schedule: Calendar view
- More: Expenses, Files, Notifications, Settings, Profile
- Backend: PHP 8.1+, WordPress 6.4+
- Frontend: React 18.2, TypeScript 5.2, Redux Toolkit
- Build: Webpack 5, Babel
- Database: MySQL 5.7+ with 10 custom tables
- Testing: PHPUnit, Jest, React Testing Library
- APIs: WordPress REST API + Custom endpoints
- Background Jobs: WordPress Action Scheduler
- Framework: React Native 0.72.6
- Language: TypeScript 5.2
- State: Redux Toolkit
- Navigation: React Navigation v6
- Location: react-native-background-geolocation
- Camera: react-native-vision-camera
- Notifications: @notifee/react-native
- API: Axios with interceptors
- Zoho CRM - Customer & deal management
- Zoho FSM - Field service management
- Zoho Books - Accounting & invoicing
- Zoho People - HR & time tracking
- Zoho Desk - Support tickets
- Zoho WorkDrive - File storage
- Microsoft Teams - Group messaging (ready)
- PHP 8.1+ and Composer
- Node.js 18+ and npm
- WordPress 6.4+
- MySQL 5.7+
- React Native development environment (for mobile app)
cd wp-ict-platform
# Install PHP dependencies
composer install
# Install Node dependencies
npm install
# Build production assets
npm run buildActivate the plugin in WordPress:
- Copy
wp-ict-platformtowp-content/plugins/ - Activate in WordPress admin
- Navigate to ICT Platform → Settings
- Configure Zoho credentials
cd ict-mobile-app
# Install dependencies
npm install
# iOS only - install pods
cd ios && pod install && cd ..
# Run on iOS
npm run ios
# Run on Android
npm run androidConfigure environment:
Create .env file:
API_BASE_URL=https://yoursite.com/wp-json/ict/v1
WP_BASE_URL=https://yoursite.com/wp-json/wp/v2wp_ict_projects- Project data synced with Zoho CRMwp_ict_time_entries- Time tracking with GPSwp_ict_inventory_items- Stock managementwp_ict_purchase_orders- PO workflowwp_ict_project_resources- Resource allocationwp_ict_sync_queue- Pending Zoho sync operationswp_ict_sync_log- Sync history & debuggingwp_ict_location_tracking- GPS coordinate historywp_ict_expenses- Expense submissionswp_ict_tasks- Task management
- Create app at https://api-console.zoho.com/
- Set redirect URI:
https://yoursite.com/wp-admin/ - Add scopes for each service (CRM, FSM, Books, People, Desk)
- Enter credentials in plugin settings
iOS (Info.plist):
- NSLocationAlwaysAndWhenInUseUsageDescription
- NSCameraUsageDescription
- NSPhotoLibraryUsageDescription
Android (AndroidManifest.xml):
- ACCESS_FINE_LOCATION
- ACCESS_BACKGROUND_LOCATION
- CAMERA
- READ_EXTERNAL_STORAGE
# Create production build
npm run build
# Create plugin zip
zip -r ict-platform.zip wp-ict-platform/ \
-x "*/node_modules/*" "*/src/*" "*/tests/*" "*/.git/*"# iOS
cd ios
xcodebuild -workspace ICTMobileApp.xcworkspace \
-scheme ICTMobileApp -configuration Release
# Android
cd android
./gradlew assembleRelease- WordPress Plugin Documentation
- Mobile App Documentation
- API Reference
- Zoho Integration Guide
- Installation Guide
- Deployment Checklist - Complete pre-launch validation steps
- Launch Guide - Day-of-launch procedures and monitoring
- Troubleshooting Guide - Common issues and solutions
Test system health and integrations:
curl -X GET "https://yoursite.com/wp-json/ict/v1/health" \
-H "Authorization: Bearer YOUR_ADMIN_TOKEN"Test complete sync workflows:
curl -X POST "https://yoursite.com/wp-json/ict/v1/health/test-sync" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"workflow": "full_workflow", "entity_id": 123}'# PHP tests
composer test
# JavaScript tests
npm test
npm run test:coverage
# Code quality
composer phpcs
npm run lint# Run tests
npm test
# Type checking
npm run type-check
# Linting
npm run lint- Phase 1-3: ✅ 100% Complete (Foundation, Zoho, Projects)
- Phase 4: ✅ 100% Complete (Time Tracking)
- Phase 5: ✅ 100% Complete (Resource Management)
- Phase 6: ✅ 100% Complete (Inventory & Procurement)
- Phase 7: ✅ 100% Complete (Reports & Analytics)
- Integration Layer: ✅ 100% Complete (QuoteWerks + 5 Zoho Services)
- Core Features: ✅ 100% Complete
- Screens: ✅ 18/18 Implemented
- REST API Integration: ✅ Complete
- Background Services: ✅ Complete
- GPS Tracking: ✅ 5-minute intervals with smart reminders
- Microsoft Teams: ⏳ Ready for integration
- QuoteWerks: ✅ Bidirectional sync with webhooks
- Zoho CRM: ✅ Deals ↔ Projects
- Zoho FSM: ✅ Work Orders ↔ Projects
- Zoho Books: ✅ Inventory & Purchase Orders
- Zoho People: ✅ Time tracking sync
- Zoho Desk: ✅ Support tickets
- Zoho WorkDrive: ✅ File storage & uploads
- Health Monitoring: ✅ Complete API health check endpoint
- Sync Orchestration: ✅ Full workflow testing available
- Documentation: ✅ Deployment checklist, troubleshooting guide, launch guide
- Error Handling: ✅ Retry logic, rate limiting, comprehensive logging
- Security: ✅ OAuth 2.0, JWT tokens, encrypted credentials, webhook signature verification
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
- WordPress Community
- React Native Community
- Zoho Developer Platform
- All contributors and testers
- Issues: GitHub Issues
- Documentation: Wiki
- Email: support@example.com
- Microsoft Teams full integration
- Offline mode with data sync
- Advanced reporting with exports
- Mobile biometric authentication
- Multi-language support
- Advanced role management
- Custom field builder
- Email notifications
- SMS notifications
- WhatsApp integration
Built with ❤️ for ICT/electrical contractors
🤖 Generated with Claude Code