In Nidus Flora ( v1.0.0-beta ), I built a gardening companion for home and urban growers across six independent modules:
Plant disease checks
A multilingual chat assistant
A plant care calendar
Local weather tracking
A community feed
Store section
Keeping each feature decoupled lets me test and ship individual modules without coupling unrelated state across the app. In this post, I'll walk through how two independent modules work under the hood in Kotlin: the Firestore-backed store module ( StoreFragment , StoreViewModel , StoreRepository , FirestoreSeeder , and StoreAdapter ) and the real-time community module ( CommunityFragment , BaseFeedFragment , CreatePostFragment , CommentsFragment , CommunityViewModel , CommentsViewModel , CommunityRepository , and CommentsRepository ), including real edge cases hit in the code.
1.…