How stockbuddy07/pg_helper works
Project type and purpose
• This is a cross-platform Flutter mobile/web/desktop application (“pg_helper”) that manages PG (paying guest) accommodations, user queries, room listings, payments, and administrative workflows.
• It uses Firebase as its backend (authentication, database, possibly storage/functions) and local preferences for storing small user settings.
File structure
• Top-level “lib” holds all Dart UI code: pages (e.g., HomePage, AdminHomePage, HelpDesk), models under “lib/models,” service wrappers (firebase_api.dart, firebase_options.dart), and utility code (saveSharePreferences.dart).
• Platform folders (“android,” “ios,” “linux,” “macos,” “windows,” “web”) contain generated Flutter host code and any native integration.
• Assets folder holds animations and static resources.
• pubspec.yaml defines dependencies; firebase.json and android/app/google-services.json configure Firebase.
README
• We deduce architecture by inspecting code organization and Firebase integration.
Detail
• Model class (or group them) under Data Models.
• Asset pipeline: animation JSON → UI.