How flowlogdev/finflowadvisor works
FinFlow is a personal-finance app for tracking cash flow and goals, analyzing spending, and exploring investments and markets. Users enter through authentication or guest access, then reach a dashboard; feature screens use API clients to request data or actions from a FastAPI backend, which persists user and financial records in MongoDB. The tree and excerpts establish several feature areas, but the backend excerpt is partial, so uncertain endpoint-to-provider wiring is omitted.
Main entry points: api.ts Finance API · server.py Finance service · auth.ts Authentication · dashboard.tsx Dashboard
Components 17
Mobile app
- App entry
frontend/app/index.tsx - Authentication
frontend/src/auth.ts - Premium billing
frontend/src/revenueCat.ts
Cash flow
Insights and planning
- Smart insights
frontend/src/components/InsightsPanel.tsx - Future simulator
frontend/app/simulator.tsx - AI advisor
frontend/app/(tabs)/advisor.tsx
Markets and investing
- Investment planner
frontend/app/(tabs)/investments.tsx - Investment API
frontend/src/investmentsApi.ts - Market cards
frontend/src/components/MarketsCards.tsx
Backend and data
- Finance API
frontend/src/api.ts - Finance service
backend/server.py - MongoDB
Other components
- User
- Plaid
Connections 21
- User → App entry: opens
- App entry → Authentication: checks session
- App entry → Dashboard: routes
- User → Authentication: signs in
- Authentication → Finance service: auth requests
- Authentication → Dashboard: routes signed-in
- Dashboard → Finance API: requests finance data
- Expenses → Finance API: manages expenses
- Bills → Finance API: manages bills
- Dashboard → Smart insights: shows insights
- Smart insights → Finance API: fetches insights
- Future simulator → Finance API: loads settings
- AI advisor → Finance API: sends chat and history requests
- Investment planner → Investment API: loads investment data
- Investment planner → Finance API: checks billing
- Market cards → Finance API: requests quotes and watchlist
- Finance API → Finance service: HTTP requests
- Investment API → Finance service: investment requests
- Finance service → MongoDB: reads and writes
- Finance service → Plaid: uses Plaid API
- Investment planner → Premium billing: premium integration