New services: services/encryptionService.js — AES-256-GCM with SHA-256 derived key services/simplefinService.js — protocol layer: claim token, fetch accounts/transactions, normalize to DB shapes services/bankSyncService.js — orchestration: connect, sync, disconnect with encrypted access URL storage Modified: routes/dataSources.js — status, connect, sync, disconnect endpoints (gate on BANK_SYNC_ENABLED=true) client/api.js — simplefinStatus, connectSimplefin, syncDataSource, deleteDataSource, dataSources client/pages/SettingsPage.jsx — BankSyncSection with connected account info, sync/disconnect actions, setup token input .env.example — BANK_SYNC_ENABLED, TOKEN_ENCRYPTION_KEY, SIMPLEFIN_APP_NAME |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.jsx | ||
| api.js | ||
| index.css | ||
| main.jsx | ||