From 5e4da0f77f7f4277f9155b5a126d52ece1bc4047 Mon Sep 17 00:00:00 2001 From: Aditya8369 Date: Mon, 9 Feb 2026 23:47:40 +0530 Subject: [PATCH 1/2] feat: AI-Powered Financial Insights Dashboard --- package.json | 1 + public/ai-insights-dashboard.js | 0 public/dashboard.html | 150 +++++++++++++++++++++++--------- services/aiInsightsService.js | 1 + 4 files changed, 111 insertions(+), 41 deletions(-) create mode 100644 public/ai-insights-dashboard.js diff --git a/package.json b/package.json index 1c9f6d27..ba18f90e 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "dev": "nodemon server.js" }, "dependencies": { + "@tensorflow/tfjs-node": "^4.15.0", "axios": "^1.6.2", "bcryptjs": "^2.4.3", "cors": "^2.8.5", diff --git a/public/ai-insights-dashboard.js b/public/ai-insights-dashboard.js new file mode 100644 index 00000000..e69de29b diff --git a/public/dashboard.html b/public/dashboard.html index 16c5ba83..d8b6d54a 100644 --- a/public/dashboard.html +++ b/public/dashboard.html @@ -919,68 +919,136 @@

Add Recurring Expense

- -
+ +
-

Financial Analytics & Forecasting

-
- - + + AI Active +
-
- -
-
-
+ +
+
+

Financial Health Score

+
+
- Calculating velocity... + Analyzing your finances...
-
-
- - Generating forecast... +
+
+ +
+
+ + +
+ +
+
+
+

AI Spending Forecast

+ ML-Powered +
+
+
+ + Training AI model... +
+
+
+
+
+

Spending Anomalies

+ AI Detected +
+
+
+ + Scanning for anomalies... +
- -
-