A comprehensive field service management system built on SuiteCRM with advanced features for scheduling, GPS tracking, customer portal, digital signatures, and business automation. Designed to compete with platforms like Housecall Pro.
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β Customer β β SuiteCRM β β MySQL DB β
β Portal βββββΊβ + Custom APIs βββββΊβ + Extensions β
β (PHP/JS) β β + GPS Tracking β β β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β β β
ββββββββββββββββββββββββββΌβββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββ
β External Services β
β β’ Google Maps API β
β β’ Twilio SMS β
β β’ SendGrid Email β
β β’ Cloud Storage β
βββββββββββββββββββββββββββ
- Drag-and-drop calendar with real-time updates
- Automated technician assignment based on skills and location
- Route optimization with Google Maps integration
- Job templates with customizable checklists
- Recurring appointment scheduling
- Live technician location tracking
- Geofencing for job sites
- ETA calculations with traffic data
- Route history and mileage tracking
- Customer notifications with technician location
- Online appointment booking with real-time availability
- Service history and invoice access
- Real-time technician tracking for customers
- Digital signature collection for work orders
- Review and rating system
- Responsive design for all devices
- Touch-friendly drag-and-drop scheduling
- Mobile signature capture
- Offline capability for critical functions
- Progressive Web App features
- Stripe integration for online payments
- Invoice generation and tracking
- Payment history and receipts
- Automated payment reminders
- Multiple payment methods
- SMS notifications via Twilio
- Email automation via Gmail SMTP
- OMW (On My Way) notifications
- Appointment reminders
- Review request automation
- Google Cloud account with billing enabled
- Google Maps API key
- Twilio account (for SMS notifications)
- SendGrid account (for email notifications)
-
Clone the repository:
git clone https://github.com/Faitltd/faitCRM.git cd faitCRM git checkout faitcrm-advanced
-
Authenticate with Google Cloud:
gcloud auth login gcloud config set project faitcrm
-
Get your API keys:
- Google Maps: https://console.cloud.google.com/apis/credentials?project=faitcrm
- Twilio: https://www.twilio.com/try-twilio
- Gmail App Password: https://myaccount.google.com/apppasswords
-
Deploy everything (one command):
./deployment/cloud-run/quick-deploy.sh
-
Set up database:
gcloud sql connect faitcrm-db --user=root # In MySQL prompt: source deployment/database/schema.sql exit
- Admin Dashboard:
https://your-app-url.run.app
- Customer Portal:
https://your-app-url.run.app/portal
- API Endpoints:
https://your-app-url.run.app/Api/V8
To use your own domain (e.g., yourdomain.com/faitcrm
), add this to your web server:
Apache:
ProxyPass /faitcrm/ https://your-cloud-run-url.run.app/
ProxyPassReverse /faitcrm/ https://your-cloud-run-url.run.app/
Nginx:
location /faitcrm/ {
proxy_pass https://your-cloud-run-url.run.app/;
proxy_set_header Host $host;
}
faitCRM/
βββ Api/ # SuiteCRM API Extensions
β βββ V8/
β βββ Controller/
β βββ HousecallProController.php # Field service APIs
β βββ CustomerPortalController.php # Customer portal APIs
βββ custom/ # SuiteCRM Customizations
β βββ modules/ # Custom modules
β βββ Extension/ # SuiteCRM extensions
β βββ include/ # Custom includes
βββ customer-portal/ # Customer-facing portal
β βββ pages/ # Portal pages
β β βββ dashboard.php # Customer dashboard
β β βββ booking.php # Online booking
β β βββ tracking.php # Real-time tracking
β β βββ signature.php # Digital signatures
β β βββ review.php # Review system
β βββ assets/ # CSS, JS, images
β βββ index.php # Portal entry point
βββ deployment/ # Deployment infrastructure
β βββ cloud-run/ # Google Cloud Run setup
β β βββ deploy.sh # Main deployment script
β β βββ quick-deploy.sh # One-command deployment
β β βββ Dockerfile # Container configuration
β β βββ config/ # Production config
β βββ database/ # Database schema
β β βββ schema.sql # Complete database setup
β βββ DEPLOYMENT_GUIDE.md # Deployment instructions
βββ modules/ # SuiteCRM core modules
βββ include/ # SuiteCRM core includes
βββ DEPLOY_NOW.md # Quick start guide
βββ README.md
All sensitive configuration is stored in Google Secret Manager:
google-maps-api-key
- Google Maps API keytwilio-account-sid
- Twilio Account SIDtwilio-auth-token
- Twilio Auth Tokentwilio-phone-number
- Twilio phone numbergmail-username
- Gmail address for SMTPgmail-password
- Gmail App Passwordstripe-secret-key
- Stripe secret key (optional)db-password
- Database password (auto-generated)
Google Maps API:
- Enable APIs: Maps JavaScript, Places, Directions, Geocoding
- Get API key from Google Cloud Console
- Store in Secret Manager
Twilio SMS:
- Sign up at twilio.com
- Get Account SID, Auth Token, and phone number
- Configure for SMS notifications
Gmail SMTP:
- Use your existing Gmail account
- Set up App Password at myaccount.google.com/apppasswords
- Configure for automated emails
- Google Cloud Run: $10-50 (based on usage)
- Cloud SQL Database: $25-100 (db-f1-micro to db-n1-standard-1)
- Cloud Storage: $5-20 (file storage)
- Google Maps API: $0-200 (based on usage)
- Twilio SMS: $0.0075 per message
- Gmail SMTP: Free with existing Gmail account
Total Estimated: $50-400/month depending on usage
vs. Housecall Pro:
- β No monthly per-user fees - pay only for infrastructure
- β Complete source code ownership - full customization
- β Advanced GPS tracking with real-time updates
- β Integrated customer portal with online booking
- β Digital signature collection built-in
- β Automated review system for reputation management
- HTTPS enforcement with SSL certificates
- Secure credential storage in Google Secret Manager
- Database encryption at rest and in transit
- Role-based access control with SuiteCRM permissions
- Input validation and SQL injection protection
- Session management optimized for serverless
- Real-time dashboards with key performance indicators
- Revenue tracking and financial reporting
- Technician performance metrics
- Customer satisfaction tracking
- Route optimization analytics
- Custom reporting with SuiteCRM reports
Ready to deploy your own field service management system?
- Read the deployment guide:
DEPLOY_NOW.md
- Get your API keys from Google Maps, Twilio, and SendGrid
- Run the deployment script:
./deployment/cloud-run/quick-deploy.sh
- Access your system at your Cloud Run URL
This project is licensed under the MIT License - see the LICENSE.txt file for details.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: See
deployment/DEPLOYMENT_GUIDE.md
β Complete field service management system β Customer portal with online booking β Real-time GPS tracking and dispatch β Digital signatures and reviews β Automated SMS and email notifications β Payment processing with Stripe β Production-ready deployment on Google Cloud β Estimated cost: $50-400/month
π Ready to compete with Housecall Pro? Deploy FaitCRM today!