How satyatejachukka/wealth_sync works
WealthSync is a personal-finance ledger and planning application. A user signs in, records income or expenses and manages recurring commitments; the React dashboard calls the FastAPI JSON API, which handles finance data and calculations against a PostgreSQL-compatible store. The product also covers budgets, goals, loans, lending, electricity bills, calendar events, notifications, and internally tracked Autopilot orders. The README documents the overall frontend/API/backend arrangement; some feature implementations are unsampled, so those branches are shown at directory level without speculative call edges.
Main entry points: models Finance records · v1 Finance API routes · main.py FastAPI entrypoint · App.jsx React routes
Components 22
Web client
- React routes
frontend/src/App.jsx - Client authentication
frontend/src/lib/auth.jsx - HTTP API client
frontend/src/lib/api.js - Finance dashboard
frontend/src/pages/dashboard - Finance pages
frontend/src/pages/dashboard - API feature clients
frontend/src/services
API and identity
- FastAPI entrypoint
backend/app/main.py - Authentication routes
backend/app/api/v1/auth.py - Token verification
backend/app/api/deps.py
Finance workflows
- Finance API routes
backend/app/api/v1 - Budget calculations
backend/app/services/budget_engine.py - Autopilot orders
backend/app/services/autopilot.py - Electricity workflow
backend/app/services/electricity_service.py - Planning and triage
backend/app/services - Scheduled bill automation
backend/app/tasks - Notifications
backend/app/api/v1/notifications.py - Financial calendar
backend/app/api/v1/calendar.py
Persistence
- Finance records
backend/app/models - SQL database
backend/app/core/database.py
Other components
- Finance user
- Firebase Auth
- Redis and Celery
Connections 25
- Finance user → React routes: uses
- React routes → Finance dashboard: routes to
frontend/src/App.jsx - React routes → Finance pages: routes to
frontend/src/App.jsx - Finance user → Client authentication: signs in
- Client authentication → HTTP API client: calls
frontend/src/lib/auth.jsx - Client authentication → Firebase Auth: authenticates with
frontend/src/lib/auth.jsx - Finance pages → API feature clients: uses
frontend/src/pages/dashboard/Loans.jsx - API feature clients → FastAPI entrypoint: sends API requests
- HTTP API client → FastAPI entrypoint: sends API requests
- FastAPI entrypoint → Authentication routes: registers
backend/app/main.py - FastAPI entrypoint → Finance API routes: registers
backend/app/main.py - Authentication routes → Token verification: requires identity
backend/app/api/v1/auth.py - Token verification → Finance records: looks up user
backend/app/api/deps.py - Finance API routes → Budget calculations: uses calculations
backend/app/api/v1/budgets.py - Finance API routes → Autopilot orders: dispatches orders
backend/app/api/v1/autopilot.py - Finance API routes → Electricity workflow: uses workflow
backend/app/services/electricity_service.py - Finance API routes → Finance records: reads and writes
backend/app/api/v1/transactions.py - Budget calculations → Finance records: calculates from
backend/app/services/budget_engine.py - Autopilot orders → Finance records: tracks orders
backend/app/api/v1/autopilot.py - Electricity workflow → Finance records: updates bills
backend/app/services/electricity_service.py - Financial calendar → Finance records: reads commitments
backend/app/api/v1/calendar.py - Notifications → Finance records: manages notifications
- Finance records → SQL database: persists records
backend/app/core/database.py - Scheduled bill automation → Redis and Celery: scheduled by
- Planning and triage → Finance API routes: supports planning views
backend/app/services/budget_engine.py