How johancurato1-stack/bh-finder-main works
BH Finder is a Flutter boarding-house discovery and property-management app for tenants and landlords, backed by Supabase. Tenant workflows cover authentication, property search and filtering, property and room details, and favorites; landlord workflows cover property and room management, image uploads, and performance monitoring. The README documents a UI → ViewModel → repository interface → Supabase repository → Supabase layering. Dart implementation excerpts were not provided, so feature-to-data links beyond that documented layering are omitted.
Main entry points: view_models ViewModels · supabase Supabase repositories · auth Authentication · search Property discovery
Components 20
Tenant experience
- Authentication
lib/roles/tenant/features/auth - Property discovery
lib/roles/tenant/features/search - Tenant home
lib/roles/tenant/features/home - Property and room details
lib/roles/tenant/shared/widgets/screens/property_detail_screen - Favorites
lib/roles/tenant/features/favorites - Tenant messaging
lib/roles/tenant/features/messages
Landlord management
- Landlord dashboard
lib/roles/landlord/features/dashboard - Property management
lib/roles/landlord/features/properties - Property and room management
lib/roles/landlord/shared/widgets/screens/property_detail_screen - Property creation
lib/roles/landlord/shared/widgets/screens/add_property_screen - Room creation
lib/roles/landlord/shared/widgets/screens/add_room_screen - Landlord messaging
lib/roles/landlord/features/messages
Application layers
- ViewModels
lib/core/view_models - Repository interfaces
lib/core/repositories/repositories - Supabase repositories
lib/core/repositories/supabase
Backend services
- Supabase Auth
- Supabase Storage
- Supabase database
Other components
- Tenant
- Landlord
Connections 24
- Tenant → Authentication: authenticates
README.md - Tenant → Tenant home: browses
README.md - Tenant → Property discovery: searches and filters
README.md - Tenant → Property and room details: views details
README.md - Tenant → Favorites: saves favorites
README.md - Landlord → Landlord dashboard: monitors performance
README.md - Landlord → Property management: manages properties
README.md - Landlord → Property creation: adds properties
README.md - Landlord → Room creation: adds rooms
README.md - Authentication → ViewModels: uses
- Property discovery → ViewModels: uses
- Tenant home → ViewModels: uses
- Property and room details → ViewModels: uses
- Favorites → ViewModels: uses
- Landlord dashboard → ViewModels: uses
- Property management → ViewModels: uses
- Property and room management → ViewModels: uses
- Property creation → ViewModels: uses
- Room creation → ViewModels: uses
- ViewModels → Repository interfaces: calls
README.md - Repository interfaces → Supabase repositories: delegates to
README.md - Supabase repositories → Supabase database: accesses data
README.md - Supabase repositories → Supabase Auth: uses authentication
README.md - Supabase repositories → Supabase Storage: uses storage
README.md