Production CRM system built for Dirt Free Carpet & Upholstery Cleaning, a Houston-based carpet cleaning company. Complete business management solution replacing paper-based systems with digital automation.
Contract Value: $32,000 project ($2,000 setup + $500/month Γ 60 months)
Full-featured, cloud-based Customer Relationship Management system that digitizes and automates all aspects of service business operations - from customer management to job scheduling, billing, fleet management, and analytics.
Status: Production deployment serving active business operations
Frontend: Next.js 15.5.3, React 19, TypeScript, Tailwind CSS
UI Components: shadcn/ui component library
Database: Supabase (PostgreSQL) with real-time capabilities
Authentication: Supabase Auth with role-based access control
Communications: Twilio (SMS), Resend (Email)
Payments: Stripe integration (ready for activation)
Hosting: Vercel with global CDN
Monitoring: Sentry error tracking, Vercel Analytics
- Complete customer database with detailed profiles
- Advanced search and filtering capabilities
- Bulk CSV import/export
- Zone-based organization for route optimization
- Service history tracking with lifetime value calculation
- Communication preferences (SMS/Email opt-in/out)
- Customer segmentation and tagging
- Visual calendar interface (day/week/month views)
- Drag-and-drop scheduling
- Real-time status workflow: Scheduled β Confirmed β In Transit β In Progress β Completed
- Technician assignment with workload balancing
- Before/after photo uploads
- Digital signature capture
- Customer rating collection
- Automated conflict detection
- Automated appointment reminders (24-hour advance)
- Customer confirmation system (Reply Y/R/C)
- On-the-way notifications
- Service completion alerts
- Conversation threading
- STOP/HELP compliance
- Template management
- Campaign capabilities
- Welcome emails for new customers
- Appointment confirmations and reminders
- Invoice delivery
- Custom React Email templates
- Delivery tracking and analytics
- Automated invoice generation from completed jobs
- Line-item management with tax calculations
- Discount application
- Multiple status tracking: Draft β Pending β Sent β Paid β Overdue
- PDF generation with professional templates
- Payment tracking (Cash, Check, Card)
- Stripe integration for online payments
- Automated overdue notifications
- Vehicle tracking and assignment
- "Truck Threads" communication board
- Issue reporting with photo evidence
- Priority flagging (Low/Medium/High/Urgent)
- Status tracking (Open β In Progress β Resolved)
- Maintenance scheduling
- Equipment/tools inventory
- Real-time revenue tracking
- Payment status monitoring
- Service profitability analysis
- Revenue by zone and technician
- Customer lifetime value calculations
- Retention and churn analysis
- Capacity utilization metrics
- Custom report builder with PDF/Excel export
- Zone Board View for geographic optimization
- Route visualization and optimization
- Travel time calculations
- Visual capacity indicators
- Tech Weekly View for individual schedules
- Real-time availability tracking
dirtfree-crm/
βββ src/
β βββ app/ # Next.js 14 App Router
β β βββ (auth)/ # Authentication pages
β β βββ dashboard/ # Main application
β β βββ api/ # API routes
β βββ components/ # React components
β βββ lib/ # Utilities and helpers
β βββ types/ # TypeScript definitions
βββ supabase/
β βββ migrations/ # Database migrations
β βββ functions/ # Edge functions
βββ public/ # Static assets
βββ tests/ # Test suites
- Node.js 18+
- Supabase account
- Twilio account (for SMS)
- Resend account (for email)
# Clone repository
git clone https://github.com/SamShahinDev/dirtfree-crm.git
cd dirtfree-crm
# Install dependencies
npm install
# Configure environment
cp .env.example .env.local
# Edit .env.local with your credentials
# Run database migrations
npm run db:migrate
# Start development server
npm run devVisit http://localhost:3000
- Row-level security in Supabase
- Middleware-based route protection
- Rate limiting on API endpoints
- Secure file upload with validation
- PII data encryption
- Audit logging for compliance
- CORS configuration
- JWT-based authentication
Operational Efficiency:
- 70% reduction in scheduling time
- 25% improvement in daily job capacity
- 40% reduction in no-shows via automated reminders
- Invoice generation: 15 minutes β 1 minute
Customer Experience:
- Professional automated communications
- Real-time job status updates
- Easy rescheduling via SMS
- Digital receipts and history access
Business Intelligence:
- Real-time revenue visibility
- Customer behavior insights
- Technician performance tracking
- Predictive analytics foundation
- Installable on mobile devices
- Offline capability ready
- Touch-optimized interface
- Camera integration for photos
- Push notifications
- GPS integration ready
- Server-side rendering with Next.js 14 App Router
- Real-time subscriptions via Supabase
- Optimistic UI updates
- Virtual scrolling for large datasets
- Debounced search with caching
- Background job processing
- Webhook integrations (Twilio, Stripe)
- Email templates with React Email
19 main tables including:
- Core: customers, jobs, services, users, technicians
- Communication: sms_messages, email_logs
- Financial: invoices, payments
- Operations: trucks, zones, reminders
- Analytics: audit_logs
5 optimized database views for complex queries
- Mobile-first responsive design
- Dark mode support
- Accessible (WCAG AA compliant)
- Intuitive navigation
- Real-time updates without refresh
- Professional shadcn/ui components
- Consistent design system
This is a production application built for a real client under contract.
- Demo credentials available upon request
- Contains no real customer data (test/mock data only)
- All API keys and secrets use environment variables
- Code demonstrates professional development practices
- Production: Vercel hosting
- Database: Supabase managed PostgreSQL
- CDN: Vercel Edge Network
- Monitoring: Sentry + Vercel Analytics
- Backups: Automated via Supabase PITR
Hussam Shahin
LinkedIn | GitHub
Status: Active production deployment | Built under commercial contract for Crowned Gladiator Enterprises LLC | Portfolio demonstration showcasing enterprise-grade service management system development.