About
A multi-tenant SaaS for lawn care and pest control companies, built by my company, C&F Solutions LLC. Owners and the office run the business from the web app, techs work their day from one app on iPhone, iPad and Android, and customers pay and request service through their own portal. Everything is in English and Spanish, including what customers receive.
Platforms
iPhone, iPad, Android & web
Field service platform
Built with
- Flutter
- Dart
- Riverpod
- MapLibre
- ActivityKit
- TypeScript
- Next.js
- Fastify
- PostgreSQL
- Drizzle
- Stripe
What I built
One Flutter app for iPhone, iPad and Android (Riverpod, go_router) with the web app's side navigation and tablet layouts, MapLibre maps, location sharing only while clocked in, and a Lock Screen Live Activity for the clock-in on iPhone.
A Next.js company web app, customer portal, staff portal and marketing site on a TypeScript Fastify API, with PostgreSQL row-level security on every tenant table and Drizzle.
Each feature is a module with a manifest. Every write is a tracked command that checks a permission, writes the audit trail and emits an event in one transaction, and other modules react to the events.
API clients for Dart, TypeScript, Swift and Kotlin, design tokens and strings are generated from one source, and a missing Spanish string fails the check.
Seven rule-based bots, not AI: Remi, Skip, Penny, Stella, Boomer, Tally and Scout handle reminders, rescheduling, billing follow-ups, reviews, win-backs, a weekly report and quality spot checks, each off until the owner previews what it sends.
Stripe Connect for card and bank payments, saved cards and autopay, with every charge keyed to an intent committed before the call so a retry can't charge twice.
Automated checks on every change: a browser walk from sign-up to payment in both trades and both languages, with screenshots at 390 and 1440 px, accessibility checks, module boundary and consistency rules, and a secret scan.
Screens
How it fits together
Clients
- Phone appFlutter, iPhone, iPad and Android
- Web appNext.js, for owners and the office
- Customer portalNext.js, pay and request service
- Staff portalNext.js, MFA and audit log
- Marketing siteNext.js, English and Spanish
generated API clients, HTTPS and WebSocket
API (TypeScript, Fastify)
- ModulesOne per feature, tracked commands
- WorkerDelivers events, runs jobs
- BotsSeven rule-based modules
- Live updatesWebSocket from Postgres notifications
events written in the same transaction
Data & jobs
- PostgreSQLRow-level security, Drizzle
- QueueEvents and jobs on Postgres
- Cloudflare R2Photos and files
provider adapters, never inside a transaction
Outside
- StripePayments and subscriptions
- ResendEmail
- APNs & FCMPush
- QuickBooksOne-way sync