How davidoloyede/money-quiz-new works
Manna Money is a personal-finance app with web and mobile clients. Its main workflow is importing bank transactions by local CSV or optional Plaid connection, categorizing and reviewing them, then exploring spending insights and a data-generated quiz. The web shell also exposes yearly views, faith-informed giving and scripture features, budgets, recurring charges, and account-backed sync. Source excerpts show the web entry point, shared store, storage behavior, API registration, and Plaid helper; several feature and route relationships below are documented in the README rather than verified in sampled implementation.
Main entry points: App.tsx Web app shell · index.ts Node API · Dashboard.tsx Dashboard insights · store.tsx Transaction state
Components 24
App clients
- Web app shell
src/App.tsx - Mobile app
apps/mobile/src/app/(tabs)/dashboard.tsx
Transaction workflow
- Import experience
src/components/ImportView.tsx - CSV parsing
packages/core/lib/importCsv.ts - Bank connection UI
src/components/ConnectBank.tsx - Categorization
packages/core/lib/categorize.ts - Transfer review
packages/core/lib/transferReview.ts
Financial insights
- Dashboard insights
src/components/Dashboard.tsx - Spending analysis
packages/core/lib/analysis.ts - Personalized quiz
src/components/QuizView.tsx - Year sheet
src/components/YearSheetView.tsx - Giving and debt
src/components/GivingCard.tsx - Recurring charges
src/components/RecurringCard.tsx
Shared core and state
- Transaction state
packages/core/store.tsx - Local persistence
packages/core/lib/storage.ts
Account and bank services
- Sign-in
src/auth.tsx - Cloud sync
src/components/SyncGate.tsx - Node API
server/src/index.ts - JWT verification
server/src/auth/middleware.ts - Plaid routes
server/src/routes/plaid.ts - Plaid client
server/src/plaid/client.ts - PostgreSQL store
server/src/db/client.ts - Activity tracking
src/lib/track.ts
Other components
- User
Connections 31
- User → Web app shell: uses
README.md - User → Mobile app: uses
- Web app shell → Import experience: shows
src/App.tsx - Web app shell → Dashboard insights: shows
src/App.tsx - Web app shell → Year sheet: shows
src/App.tsx - Web app shell → Personalized quiz: shows
src/App.tsx - User → Import experience: imports data
README.md - Import experience → CSV parsing: parses CSV
README.md - Import experience → Bank connection UI: connects bank
README.md - Bank connection UI → Node API: requests connection
README.md - CSV parsing → Categorization: categorizes rows
README.md - Transaction state → Categorization: uses
packages/core/store.tsx - Transaction state → Local persistence: persists state
packages/core/lib/storage.ts - Transaction state → Spending analysis: uses
packages/core/store.tsx - User → Transfer review: reviews transfers
README.md - Dashboard insights → Spending analysis: presents insights
README.md - User → Personalized quiz: takes quiz
README.md - Personalized quiz → Transaction state: uses personal data
README.md - User → Year sheet: views yearly totals
README.md - Dashboard insights → Giving and debt: includes
README.md - Dashboard insights → Recurring charges: includes
README.md - User → Sign-in: signs in
README.md - Sign-in → Cloud sync: enables account sync
README.md - Cloud sync → Node API: syncs data
README.md - Node API → JWT verification: registers routes
server/src/index.ts - Node API → Plaid routes: registers routes
server/src/index.ts - Plaid routes → Plaid client: calls
server/src/routes/plaid.ts - Plaid routes → PostgreSQL store: uses
server/src/routes/plaid.ts - Node API → PostgreSQL store: serves PostgreSQL features
- Web app shell → Activity tracking: records activity
src/App.tsx - Activity tracking → Node API: posts events
src/lib/track.ts