feat(insights): analytics drill-down, fee tracking, and category improvements

- Monthly spend chart with category breakdown drill-down
- Merchant frequency and spend analytics with per-merchant history
- Subscription detection and recurring charge tracking
- Fee and interest analytics endpoint
- Expanded category list with formatCategory display helper
This commit is contained in:
2026-03-14 20:06:24 +11:00
parent 9f90d8726f
commit 278e57354c
8 changed files with 291 additions and 50 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export async function GET(req: NextRequest) {
if (type === "banks") {
const banks = await getBankNames();
return NextResponse.json(banks.map((b) => b.bank_name));
return NextResponse.json(banks);
}
if (!search) return NextResponse.json([]);