How nkuppan/expensemanager works
Expense Manager is an Android personal-finance app. Users record income, expenses, and transfers, organize them with accounts and categories, track budgets, and review spending summaries or export transactions. The graph preserves the README’s major feature branches and the clean-architecture persistence layers. Source excerpts are limited, so links from screens into domain and data operations are shown as unverified rather than asserted as inspected call paths.
Main entry points: MainScreen.kt Main navigation · GetAverageDataUseCase.kt Transaction use cases · TransactionRepositoryImpl.kt Repository implementations · MainActivity.kt App entry
Components 18
App and features
- App entry
app/src/main/kotlin/com/naveenapps/expensemanager/MainActivity.kt - Main navigation
app/src/main/kotlin/com/naveenapps/expensemanager/ui/MainScreen.kt - Transactions
feature/transaction/src/main/kotlin/com/naveenapps/expensemanager/feature/transaction/list/TransactionListScreen.kt - Accounts
feature/account/src/main/kotlin/com/naveenapps/expensemanager/feature/account/list/AccountListScreen.kt - Budgets
feature/budget/src/main/kotlin/com/naveenapps/expensemanager/feature/budget/list/BudgetListScreen.kt - Categories
feature/category/src/main/kotlin/com/naveenapps/expensemanager/feature/category/details/CategoryDetailScreen.kt - Dashboard
feature/dashboard/src/main/kotlin/com/naveenapps/expensemanager/feature/dashboard/DashboardScreen.kt - Analysis
feature/analysis/src/main/kotlin/com/naveenapps/expensemanager/feature/analysis/AnalysisInsights.kt - Export screen
feature/export/src/main/kotlin/com/naveenapps/expensemanager/feature/export/ExportScreen.kt - Reminders
feature/reminder/src/main/java/com/naveenapps/expensemanager/feature/reminder/ReminderScreen.kt
Domain and data
- Transaction use cases
core/domain/src/main/kotlin/com/naveenapps/expensemanager/core/domain/usecase/transaction/GetAverageDataUseCase.kt - Repository implementations
core/data/src/main/kotlin/com/naveenapps/expensemanager/core/data/repository/TransactionRepositoryImpl.kt - CSV and PDF export
core/data/src/main/kotlin/com/naveenapps/expensemanager/core/data/repository/export/CsvExportStrategy.kt
Local persistence
- Room database
core/database/src/main/kotlin/com/naveenapps/expensemanager/core/database/ExpenseManagerDatabase.kt - Preferences
core/datastore/src/main/kotlin/com/naveenapps/expensemanager/core/datastore/SettingsDataStore.kt
Insights and background work
- Budget alerts
core/notification/src/main/kotlin/com/naveenapps/expensemanager/core/notification/BudgetAlertWorker.kt - Weekly summary
core/notification/src/main/kotlin/com/naveenapps/expensemanager/core/notification/WeeklySummaryWorker.kt
Other components
- User
Connections 19
- User → App entry: opens
- App entry → Main navigation: renders
app/src/main/kotlin/com/naveenapps/expensemanager/MainActivity.kt - Main navigation → Transactions: routes to
- Main navigation → Accounts: routes to
- Main navigation → Budgets: routes to
- Main navigation → Categories: routes to
- Main navigation → Dashboard: routes to
- Main navigation → Analysis: routes to
- Main navigation → Export screen: routes to
- Main navigation → Reminders: routes to
- Transactions → Transaction use cases: uses
- Transaction use cases → Repository implementations: reads transactions
- Repository implementations → Room database: persists data
- Export screen → CSV and PDF export: requests export
- CSV and PDF export → Repository implementations: exports transactions
- Budget alerts → Room database: reads budgets
core/notification/src/main/kotlin/com/naveenapps/expensemanager/core/notification/BudgetAlertWorker.kt - Weekly summary → Repository implementations: reads transactions
core/notification/src/main/kotlin/com/naveenapps/expensemanager/core/notification/WeeklySummaryWorker.kt - Dashboard → Transaction use cases: summarizes spending
- Analysis → Transaction use cases: analyzes trends