Cleanr
Leading the development of a cloud-native SaaS platform for commercial cleaning management. Built with robust serverless architecture.
Cleanr is a production-ready mobile platform connecting users with professional cleaners for on-demand and scheduled apartment cleaning services. Built as a dual-app ecosystem, Cleanr features separate React Native applications for users and cleaners, creating an Uber-like experience for home cleaning.
The platform handles real-time cleaner matching, GPS tracking, secure payments via Stripe, push notifications, and a sophisticated penalty system for cancellations. With Firebase as the backend, Cleanr scales seamlessly while maintaining sub-second response times for critical operations like cleaner assignment and booking updates.
Tech Stack
Key Features
- Dual React Native apps: User-facing booking app and Cleaner workforce app
- Three service tiers: Basic (standard cleaning), Plus (enhanced services), Pro (deep clean)
- On-demand booking with real-time cleaner matching
- Scheduled cleanings with recurring booking support
- Live GPS tracking and ETA updates
- Stripe payment integration with secure card storage
- Firebase Cloud Messaging for push notifications
- Sophisticated penalty system with grace periods
- Multi-language support (i18next)
- Rating and review system for quality assurance
Technical Highlights
- React Native with Expo for cross-platform iOS/Android deployment
- Firebase Firestore for real-time data synchronization
- Firebase Cloud Functions for serverless backend logic
- Stripe API for payment processing and refunds
- React Navigation for complex navigation flows
- Google Maps integration for location services
- Firebase Authentication with Google Sign-In and Apple Sign-In
- Expo Notifications for push notification handling
- TypeScript for type-safe development
- React Hook Form with Zod validation
Architecture
Mobile Applications
- User App: Booking interface, service selection, payment management
- Cleaner App: Job acceptance, navigation, task completion
- Shared Firebase backend for real-time sync
- Expo managed workflow for streamlined deployment
Backend Infrastructure
- Firebase Firestore: Real-time database for bookings, users, cleaners
- Cloud Functions: Penalty calculations, payment processing, notifications
- Firebase Storage: Profile pictures and cleaning verification photos
- Firestore Security Rules: Row-level access control
Payment System
- Stripe Payment Intents for secure card processing
- Off-session payments for penalty charges
- Automated refund processing with penalty deductions
- Customer portal for payment method management
Penalty System
- Time-based penalties for scheduled cleanings (0-75% of booking)
- Status-based penalties for on-demand bookings
- Grace period: 2 free cancellations per 90 days
- Automated penalty assessment and charging
- Dispute resolution workflow
Challenges & Solutions
Implementing real-time cleaner matching with sub-second latency
Designing a fair and transparent penalty system
Managing concurrent booking requests without double-assignment
Handling offline scenarios gracefully in both apps
Ensuring secure payment processing with PCI compliance
Optimizing Firebase queries to minimize read costs