How belal123-hub/moneymate-app works
MoneyMate is an Android personal-finance app. Its apparent user workflow is to open the app, navigate to a finance area, create or review transactions, wallets, and savings goals, then see the resulting summaries. The tree also shows authentication, profile/settings, network-backed data, and offline synchronization capabilities. The README is empty and no runtime source was excerpted, so the feature boundaries come from filenames; dashed, uncited edges mark plausible but unverified connections.
Main entry points: AppNavHost.kt App navigation · TransactionRepositoryImpl.kt Remote repositories · OfflineSyncOrchestrator.kt Offline sync · MainActivity.kt Activity entry
Components 18
App and navigation
- Activity entry
app/src/main/java/com/example/moneymate/MainActivity.kt - App navigation
app/src/main/java/com/example/moneymate/ui/navigation/AppNavHost.kt
Finance features
- Home dashboard
app/src/main/java/com/example/moneymate/ui/screens/home/HomeScreen.kt - Transactions
app/src/main/java/com/example/moneymate/ui/screens/transaction/TransactionScreen.kt - Add transaction
app/src/main/java/com/example/moneymate/ui/screens/transaction/addtransaction/AddTransactionScreen.kt - Spending analytics
app/src/main/java/com/example/moneymate/ui/screens/transaction/component/CategoryPieChartComponent.kt - Wallet management
app/src/main/java/com/example/moneymate/ui/screens/wallet/WalletScreen.kt - Goals and budgets
app/src/main/java/com/example/moneymate/ui/screens/goal/GoalScreen.kt
Account features
- Sign-in and signup
app/src/main/java/com/example/moneymate/ui/screens/auth/singIn/SignInScreen.kt - Profile editing
app/src/main/java/com/example/moneymate/ui/screens/profile/editprofile/EditProfileScreen.kt - Settings
app/src/main/java/com/example/moneymate/ui/screens/profile/settings/SettingsScreen.kt
Data and sync
- Remote repositories
data/src/main/java/com/example/data/network/transaction/TransactionRepositoryImpl.kt - Finance API clients
data/src/main/java/com/example/data/network/transaction/TransactionApi.kt - Local database
data/src/main/java/com/example/data/database/MoneyMateDatabase.kt - Offline sync
data/src/main/java/com/example/data/offline/OfflineSyncOrchestrator.kt - Background sync worker
app/src/main/java/com/example/moneymate/work/SyncWorker.kt
Other components
- User
- Remote service
Connections 21
- User → Activity entry: opens
- Activity entry → App navigation: starts
- App navigation → Home dashboard: routes to
- App navigation → Transactions: routes to
- App navigation → Add transaction: routes to
- App navigation → Wallet management: routes to
- App navigation → Goals and budgets: routes to
- App navigation → Sign-in and signup: routes to
- App navigation → Profile editing: routes to
- App navigation → Settings: routes to
- Transactions → Spending analytics: presents
- Home dashboard → Remote repositories: loads data
- Add transaction → Remote repositories: submits data
- Wallet management → Remote repositories: loads data
- Goals and budgets → Remote repositories: loads data
- Remote repositories → Finance API clients: calls
- Finance API clients → Remote service: requests
- Remote repositories → Local database: persists locally
- Background sync worker → Offline sync: runs sync
- Offline sync → Local database: reads and writes
- Offline sync → Remote service: synchronizes