A full-stack finance dashboard built with the MERN stack, featuring client-side machine learning predictions using a simple linear regression model.
- Frontend: React + Vite, Redux Toolkit, Material UI, Recharts
- Backend: Node.js, Express.js, MongoDB
- Machine Learning: Linear regression via
regressionJS library (client-side)
git clone https://github.com/yourusername/finance-dashboard.git
cd finance-dashboard
# Install backend
cd server
npm install
# Install frontend
cd ../client
npm install
# Run both servers
npm run devThe app includes a simple linear regression model implemented on the frontend using the regression JavaScript library.
It analyzes monthly revenue data and predicts future revenue for the next year.
Toggle predictions on the "Revenue and Predictions" chart using the provided button.
- Interactive dashboard with KPIs and charts
- Product and transaction management
- Revenue forecasting with client-side ML
- Modern responsive UI built with Material UI