How seshasainekkalapudi/monthlyexpensetracker works
Monthly Expense Tracker is a Flutter app for tracking categorized monthly expenses, with Firebase Authentication and Cloud Firestore. Users authenticate, manage categories and expenses (including shared-expense recovery and settlements), then search/filter records, export PDF reports, and review monthly or yearly trends. Provider manages app state and in-memory calculations. The README documents these capabilities and the broad layers; Dart implementation details were not sampled, so component-level call paths are not asserted.
Main entry points: screens Expense screens · expense_provider.dart Expense state · spend_trends_screen.dart Spending trends · category_provider.dart Category state
Components 18
Application UI
- Authentication screens
lib/screens - Dashboard and profile
lib/screens - Category screens
lib/screens - Expense screens
lib/screens
Expense Management
- Category data
lib/models/category_model.dart - Expense and filter data
lib/models/expense_model.dart - Expense filters
lib/models/expense_filter.dart
State and Services
- Authentication service
lib/services/auth_service.dart - App state
lib/providers/app_state_provider.dart - Category state
lib/providers/category_provider.dart - Expense state
lib/providers/expense_provider.dart - Category CRUD
lib/services/category_service.dart - Expense CRUD
lib/services/expense_service.dart
Firebase Backend
- Cloud Firestore
- Firebase Authentication
Analysis and Export
- Spending trends
lib/screens/spend_trends_screen.dart - PDF report generation
lib/services/expense_pdf_service.dart
Other components
- App user
Connections 19
- App user → Authentication screens: authenticates
README.md - App user → Dashboard and profile: manages spending
README.md - App user → Category screens: manages categories
README.md - App user → Expense screens: manages expenses
README.md - App user → Spending trends: reviews trends
README.md - Authentication screens → Authentication service: uses authentication
- Authentication service → Firebase Authentication: authenticates users
README.md - Category screens → Category state: manages categories
- Expense screens → Expense state: manages expenses
- Spending trends → Expense state: reviews spending
- App state → Category state: manages app state
- App state → Expense state: manages app state
- Category state → Category CRUD: uses CRUD service
- Expense state → Expense CRUD: uses CRUD service
- Category CRUD → Cloud Firestore: stores categories
README.md - Expense CRUD → Cloud Firestore: stores expenses
README.md - Expense screens → Expense filters: filters and searches
README.md - Expense screens → PDF report generation: exports reports
README.md - Spending trends → Expense and filter data: shows monthly trends
README.md