The challenge
Sanitair is a national air-conditioning cleaning franchise operating since 2005, with dozens of franchisees each covering their own set of postcodes. Customers needed to find and book their local technician, while head office needed one place to manage territories, reviews, blogs, franchise sales and enquiries, and to rank individual city pages in search. Calls that arrived after hours, on weekends or while lines were busy also needed to be captured as bookings rather than lost.
Our approach
Chubby Solutions built the public site on the Next.js App Router with territory, review and blog content stored in Firestore, so new city and technician pages are generated from data rather than hand-built. Each city and technician page carries its own canonical URL, headings and HVACBusiness JSON-LD, reviews refresh from Firestore every five minutes, and an automated SEO regression test (npm run test:seo) checks pagination, metadata, review visibility and redirects before each build. Internal operations were split into separate React apps on the same Firebase project: an admin dashboard with role-based tabs and a booking/accounting portal with a drag-and-drop scheduler, PDF reports and Cloud Functions for staff, customers and appointments. In 2026 an Express-based Cloud Function in TypeScript was added to power an after-hours AI voice booking assistant, with Zod-validated tool endpoints, tolerant JSON parsing and Google Calendar integration.
How it fits together
A Next.js App Router website on Vercel reads franchise territories, territory groups, reviews and blogs from a shared Firebase project (Cloud Firestore) and generates city service pages and per-territory technician pages from that data; eight Next.js API routes store enquiries in Firestore and send notifications via SendGrid. Separate React single-page apps on Firebase Hosting give head office an admin dashboard (franchises, branches, blogs, franchise sales, reviews, technicians, services, assets, equipment, maintenance requests) and a booking/accounting portal backed by Firebase Cloud Functions. A TypeScript Firebase Cloud Function exposes an Express API used by a Vapi voice assistant to check postcode coverage, give pricing guidance, check calendar availability and create bookings.
By the numbers
- Territories across 7 states/territories
- 33 page routes
- 52 regional service pages linked from the home page
- 8 API routes
- 10 admin dashboard modules, 2 access levels
- 20 Cloud Functions in the booking/accounting portal
- 5 voice-assistant API routes
Outcomes
- Automated SEO verification run recorded 421 checked URLs and 227 sitemap URLs with zero reported issues (runs/seo-verification.json).