feat: add multi-account financial overview dashboard#593
Open
promisingcoder wants to merge 3 commits intorohitdash08:mainfrom
Open
feat: add multi-account financial overview dashboard#593promisingcoder wants to merge 3 commits intorohitdash08:mainfrom
promisingcoder wants to merge 3 commits intorohitdash08:mainfrom
Conversation
- Add FinancialAccount model (checking/savings/credit_card/investment/other) with balance, currency, institution, is_active, timestamps - Add CRUD routes at /accounts (POST/GET/PUT/DELETE) plus GET /accounts/overview for consolidated view aggregated by currency and account type; all JWT-protected - Add 25 tests covering CRUD lifecycle, validation, auth isolation, overview aggregation, and inactive account filtering - Update README with accounts API reference and overview response schema - Fix test conftest to use fakeredis instead of a live Redis so all 47 tests pass in environments without a running Redis instance Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Change FinancialAccount currency default from INR to USD - Add CREATE TABLE IF NOT EXISTS for financial_accounts in schema migration - Soft-delete accounts by setting is_active=False instead of deleting row - Update _get_owned to exclude inactive accounts (returns 404 after delete) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds multi-account financial management with full CRUD API and portfolio overview.
Features
/accounts/accounts/overviewwith aggregated balances across all accountsaccountstable with proper indexes/claim #132
Fixes #132