DEV Community

Cover image for πŸ’Έ Expenzy: An AI-Powered Expense Tracker with Forecasting, Clustering & Anomaly Detection
Bharath D
Bharath D

Posted on

πŸ’Έ Expenzy: An AI-Powered Expense Tracker with Forecasting, Clustering & Anomaly Detection

Expenzy: A Smart Expense Tracker Built with the MERN Stack and Real Machine Learning

Hey dev community πŸ‘‹,

I’m excited to share Expenzy β€” my college mini project that grew into a full-featured personal expense manager built on the MERN stack β€” with integrated Machine Learning for smarter budgeting!


πŸš€ What is Expenzy?

Most expense trackers just record numbers. Expenzy goes beyond that. It helps you:

βœ… Log and track expenses securely (with authentication)

βœ… Visualize your spending on an intuitive dashboard

βœ… Forecast future expenses using Prophet

βœ… Detect unusual transactions with Anomaly Detection

βœ… Cluster your spending patterns with K-Means Clustering

βœ… Predict sales with Logistic Regression

βœ… Get personalized budget recommendations β€” all powered by real ML models!


βš™οΈ Tech Stack

  • Frontend: React.js (interactive, responsive UI)
  • Backend: Node.js + Express.js (API and server logic)
  • Database: MongoDB (secure, flexible data storage)
  • Machine Learning: Implemented using JS libraries and integrated directly in the backend logic.

πŸ”‘ Why Expenzy is Different

Feature Typical Expense Tracker Expenzy
Authentication βœ… βœ…
Dashboard & Reports βœ… βœ…
Machine Learning Forecasting ❌ βœ…
Anomaly Detection ❌ βœ…
Budget Recommendations ❌ βœ…
K-Means Clustering ❌ βœ…
Built with MERN Stack ❌ βœ…
Open Source ❌ βœ…
Ready for Production βœ… βœ…

πŸ“Š Key ML Features

πŸ“ˆ Forecasting with Prophet

Predict your future expenses based on historical data so you can plan ahead confidently.

πŸ•΅οΈ Anomaly Detection

Catch suspicious or unusual spending patterns to avoid surprises.

πŸ“‘ K-Means Clustering

Automatically group your spending categories for clearer insights into your habits.

🎯 Budget Recommendation

Get smart, personalized suggestions on how much to budget based on your spending history.


πŸ–₯️ Live Demo

πŸ‘‰https://expenzy-git-main-bharath-ds-projects.vercel.app


πŸ“‚ Source Code

Here’s the complete codebase if you want to explore, fork, or contribute:

πŸ‘‰ Bharath80988/Expenzy


πŸ“Œ Why I Built Expenzy

I wanted to challenge myself to:

  • Combine a clean MERN architecture with actual Machine Learning models
  • Make personal finance smarter, not just a digital ledger
  • Learn to deploy full-stack apps with modern tooling

πŸš€ What’s Next

βœ… Add notifications & alerts for anomalies

βœ… Fine-tune ML models with larger datasets

βœ… Build a mobile app version for on-the-go tracking

βœ… Deploy a robust production version with CI/CD


🀝 Let’s Connect!

Your feedback is super valuable. Let me know what you think or how you’d improve it!

πŸ“« LinkedIn

⭐️ GitHub


If you liked this project, please leave a ❀️, star the repo, and share your thoughts below! πŸš€βœ¨


#mernstack #react #node #mongodb #machinelearning #webdev #opensource #budgeting

Top comments (2)

Collapse
 
autocrat_autocrat_240b81c profile image
autocrat autocrat

I tried to use the project but every time i tried to log in i was unable to . I would really want to know about the project and am very much interested in it but it didnt open , i tried every type of login but i was unable to access the website . I would like to reach you out so if there is any way that i can talk to u , i would like it

Collapse
 
bharath_d_2005 profile image
Bharath D

Hey! Actually, it was a group project and my partner didn’t implement the authentication properly β€” sorry for the inconvenience. But you can directly click on the Home page to access the main functions and navigate to the Reports page for the ML features. Also, check out the NLP functionality I implemented on the Home page!