How wtaype/wiregistro works
Project type and purpose
• WiRegistro is a cross-platform (Android, iOS, Web, Desktop) expense-tracking mobile application built with Flutter.
• It uses Firebase as its managed backend (Authentication and Firestore) to register users and store/retrieve expense data in real time.
File structure
• Top-level platform folders (android, ios, linux, macos, windows, web) contain Flutter embedding & platform-specific configs.
• The lib/ directory holds the Dart code organized into:
• main.dart – Application entry point
• lib/inicio & lib/secciones – UI screens and navigation
• lib/modelos – Data models (e.g., gasto.dart, grupo.dart)
• lib/wiauth – Service layer wrappers around Firebase Auth and Firestore
• Firebase config is defined in firebase.json, .firebaserc, and (locally generated) firebase_options.dart.
README for additional insights
• Confirms Flutter 3.9+, Firebase Auth & Firestore, Google Fonts, Material Design 3.
• Lists core screens (home, add‐expense), features (real-time updates, totals calculation), and project structure.
Detail without overcomplicating
• Configuration artifacts (firebase.json, firebase_options.dart) as inputs to the Service Layer.
• Real-time listener loop: Firestore → Stream → Widget tree.
• Authentication flow explicitly: UI → Auth service → Firebase Auth → UI.