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