Skip to content

Faitltd/faitCRM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸš€ FaitCRM - Advanced Field Service Management System

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.

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Customer      β”‚    β”‚   SuiteCRM       β”‚    β”‚   MySQL DB      β”‚
β”‚   Portal        │◄──►│   + Custom APIs  │◄──►│   + Extensions  β”‚
β”‚   (PHP/JS)      β”‚    β”‚   + GPS Tracking β”‚    β”‚                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                        β”‚                        β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                  β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚   External Services     β”‚
                    β”‚   β€’ Google Maps API     β”‚
                    β”‚   β€’ Twilio SMS          β”‚
                    β”‚   β€’ SendGrid Email      β”‚
                    β”‚   β€’ Cloud Storage       β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

✨ Features

πŸ“… Advanced Scheduling & Dispatch

  • 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

πŸ“ Real-time GPS Tracking

  • Live technician location tracking
  • Geofencing for job sites
  • ETA calculations with traffic data
  • Route history and mileage tracking
  • Customer notifications with technician location

🌐 Customer Portal

  • 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

πŸ“± Mobile-Optimized Interface

  • Responsive design for all devices
  • Touch-friendly drag-and-drop scheduling
  • Mobile signature capture
  • Offline capability for critical functions
  • Progressive Web App features

πŸ’³ Payment Processing

  • Stripe integration for online payments
  • Invoice generation and tracking
  • Payment history and receipts
  • Automated payment reminders
  • Multiple payment methods

πŸ“§ Automated Communications

  • SMS notifications via Twilio
  • Email automation via Gmail SMTP
  • OMW (On My Way) notifications
  • Appointment reminders
  • Review request automation

πŸš€ Quick Start

Prerequisites

  • Google Cloud account with billing enabled
  • Google Maps API key
  • Twilio account (for SMS notifications)
  • SendGrid account (for email notifications)

Production Deployment (Google Cloud Run)

  1. Clone the repository:

    git clone https://github.com/Faitltd/faitCRM.git
    cd faitCRM
    git checkout faitcrm-advanced
  2. Authenticate with Google Cloud:

    gcloud auth login
    gcloud config set project faitcrm
  3. Get your API keys:

  4. Deploy everything (one command):

    ./deployment/cloud-run/quick-deploy.sh
  5. Set up database:

    gcloud sql connect faitcrm-db --user=root
    # In MySQL prompt:
    source deployment/database/schema.sql
    exit

Access Your System

  • 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

Custom Domain Setup

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;
}

πŸ“ Project Structure

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

πŸ”§ Configuration

Required API Keys

All sensitive configuration is stored in Google Secret Manager:

  • google-maps-api-key - Google Maps API key
  • twilio-account-sid - Twilio Account SID
  • twilio-auth-token - Twilio Auth Token
  • twilio-phone-number - Twilio phone number
  • gmail-username - Gmail address for SMTP
  • gmail-password - Gmail App Password
  • stripe-secret-key - Stripe secret key (optional)
  • db-password - Database password (auto-generated)

External Services Setup

Google Maps API:

  1. Enable APIs: Maps JavaScript, Places, Directions, Geocoding
  2. Get API key from Google Cloud Console
  3. Store in Secret Manager

Twilio SMS:

  1. Sign up at twilio.com
  2. Get Account SID, Auth Token, and phone number
  3. Configure for SMS notifications

Gmail SMTP:

  1. Use your existing Gmail account
  2. Set up App Password at myaccount.google.com/apppasswords
  3. Configure for automated emails

πŸ’° Cost Estimation

Monthly Operating Costs

  • 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

πŸ† Competitive Advantage

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

πŸ”’ Security & Compliance

  • 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

πŸ“Š Built-in Analytics

  • 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

πŸš€ Getting Started

Ready to deploy your own field service management system?

  1. Read the deployment guide: DEPLOY_NOW.md
  2. Get your API keys from Google Maps, Twilio, and SendGrid
  3. Run the deployment script: ./deployment/cloud-run/quick-deploy.sh
  4. Access your system at your Cloud Run URL

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

πŸ†˜ Support

🎯 What You Get

βœ… 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!

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 200