How yurchyshyna/finwise works
FinWise is a personal-finance web application. The evidenced runtime workflow is a user adding a cash expense in the React interface; the interface calls the FastAPI transaction endpoints, which use PostgreSQL to store and list transactions. The API also exposes health and Prometheus metrics, and a separate worker periodically checks database availability. The README describes broader planned capabilities—bank imports, categorization, budgets, alerts, analytics and forecasts—but the sampled source shows only the minimal manual-expense workflow. Those documented capabilities are shown as unverified; their implementation paths and runtime links are not established by the tree or excerpts.
Main entry points: db.py Transaction data access · main.py FastAPI endpoints · App.jsx Expense interface · main.jsx React entry
Components 16
User interface
- React entry
frontend/src/main.jsx - Expense interface
frontend/src/App.jsx
Application services
- FastAPI endpoints
backend/app/main.py - Environment settings
backend/app/config.py - Transaction data access
backend/app/db.py - PostgreSQL
Finance capabilities
- Bank data adapter
- Bank API or CSV
- Expense categorization
- Category limits
- Limit notifications
- Spending statistics
- Balance forecast
Runtime operations
- Database worker
backend/app/worker.py - Prometheus
Other components
- Finance user
Connections 15
- Finance user → Expense interface: enters expense
frontend/src/App.jsx - React entry → Expense interface: renders
frontend/src/main.jsx - Expense interface → FastAPI endpoints: requests transactions
frontend/src/App.jsx - FastAPI endpoints → Transaction data access: reads and writes
backend/app/main.py - Transaction data access → Environment settings: uses settings
backend/app/db.py - Transaction data access → PostgreSQL: queries
backend/app/db.py - Database worker → Transaction data access: checks database
backend/app/worker.py - FastAPI endpoints → Prometheus: exposes metrics
backend/app/main.py - Bank data adapter → Bank API or CSV: reads data
README.md - Bank data adapter → Expense categorization: supplies operations
README.md - Expense categorization → Category limits: supports limits
README.md - Category limits → Limit notifications: triggers notices
README.md - Finance user → Bank data adapter: grants or revokes access
README.md - Finance user → Spending statistics: views spending
README.md - Finance user → Balance forecast: views estimate
README.md