Hygeia Platform Case Study: A Unified Service Marketplace for Cleaners and Clients
The Hygeia platform is a modern solution connecting clients with trusted, professional cleaners in Hungary. This two-sided marketplace allows clients to book verified cleaning services while providing flexible opportunities for cleaners. The platform was designed to deliver a seamless experience across mobile devices and web interfaces, backed by a scalable and secure infrastructure.
Overview
- Project Scope: End-to-end platform including backend, mobile application, and landing page.
- Core Technologies: Laravel 12, Flutter, FilamentPHP, Redis, Firebase.
- Focus: Unified mobile app for clients and cleaners, real-time communication, and robust admin management.
- Key Outcomes: Streamlined service booking, efficient user management, and a scalable architecture ready for growth.
Backend & Admin Panel
The Hygeia backend serves as the platform’s backbone, handling bookings, chat, user management, and platform administration.
Technical Highlights
- Real-time Chat & Notifications: Implemented using Laravel Reverb and WebSockets, allowing clients, cleaners, and support teams to communicate instantly.
- Test-Driven Development (TDD): Comprehensive test suite using PHPUnit ensures reliability and maintainability.
- Advanced Admin Panel: Built with FilamentPHP for managing bookings, users, support tickets, and services with dynamic filters, badges, and bulk actions.
- RESTful API with Versioning: Clear
/api/v1/...
endpoints secured by Laravel Sanctum for seamless integration with the mobile app. - Robust Queue Processing: Leveraging Laravel Horizon and Redis for background tasks like notifications, payments, and job processing.
Architecture
The backend follows a modular monolith approach:
- Event-driven components with Laravel’s native events and listeners.
- Service classes encapsulate discrete business logic.
- Observers (e.g.,
SupportTicketObserver
,ChatRoomObserver
) decouple model events from side effects. - Scalable queue system ensures high throughput for background tasks.
This design supports both maintainability and future scalability.
Security Measures
- API authentication via Laravel Sanctum.
- Fine-grained access control using spatie/laravel-permission.
- Standard Laravel protections including CSRF protection, XSS filtering, and secure cookie handling.
For businesses seeking robust backend solutions, you can explore our Laravel development services or custom API development.
Mobile Application
The Hygeia Flutter app unifies both client and cleaner experiences in a single application, reducing duplication and simplifying maintenance.
Key Features
- Unified interface for clients and cleaners, providing booking, scheduling, and service management.
- Layered, contract-based architecture using repository pattern and Flutter Bloc for state management.
- Internationalization & Theming: Supports multiple languages (EN, HU) and Material 3 theming for dark/light/system modes.
- Firebase integration for reliable push notifications across iOS and Android.
Technical Highlights
- Repository Pattern & Dependency Injection: Clean separation of concerns using GetIt and abstracted repositories ensures testable and maintainable code.
- Comprehensive Testing Strategy: Business logic is covered with unit, contract, and integration tests using Mocktail.
- Robust Localization: ARB-based translation system for multi-language support.
- Performance & Reliability: While exact metrics are not available, the layered architecture ensures responsive UI and smooth interactions.
Tradeoffs
The team opted for a single app for both user roles, balancing development speed and maintenance efficiency against a slightly larger binary size and more complex role handling logic.
Landing Page
Hygeia’s landing page provides a professional, responsive introduction to the platform for potential users. Built with Next.js and Tailwind CSS, it:
- Highlights the two-sided marketplace proposition.
- Drives app downloads with clear CTAs.
- Integrates product analytics for insights via PostHog.
Although the landing page is secondary to the backend and mobile experience, it provides an essential marketing interface for early user acquisition.
Testing & Performance
- Backend and mobile apps follow TDD principles ensuring business logic reliability.
- Laravel Pulse monitors real-time backend performance.
- Horizon queues enable high-throughput processing for notifications and jobs.
- Mobile app architecture ensures smooth UI performance and predictable network behavior.
Outcome & Business Value
The Hygeia platform provides:
- A unified experience for clients and cleaners, reducing operational friction.
- Scalable and secure backend ready for growth.
- Advanced admin capabilities enabling efficient platform management.
- Real-time communication and notifications enhancing user satisfaction.
Businesses and developers can view our portfolio or contact us for a project to see similar high-quality solutions delivered by Bayanata.
Technical Stack Summary
Backend
- PHP 8.2, Laravel 12, Laravel Reverb, Horizon, Sanctum, Telescope, Pulse
- Redis, MySQL/PostgreSQL
- PHPUnit, Faker
- Scramble, Spatie Media Library, Spatie Permissions, Spatie Translatable
Mobile
- Flutter, Dart, Flutter Bloc, GetIt, Dio, Firebase Messaging
- Google Maps Flutter, Shared Preferences
- Material 3 theming, ARB-based localization
Frontend (Landing Page)
- Next.js 15, React 19, Tailwind CSS, Shadcn/UI
- PostHog analytics
Closing
Hygeia demonstrates Bayanata’s expertise in building scalable, secure, and user-friendly platforms. From complex backend logic to a unified mobile experience, the project showcases our ability to deliver high-quality, maintainable solutions for modern service marketplaces.
Explore more about Bayanata’s custom software solutions or backup and maintenance services to see how we can support your business needs.