Skip to content

Implement Recurring Expenses Feature with Chart Breakdown (Frontend + Backend) - #114

Open
snehatomar1205 wants to merge 7 commits into
TanmayKalra09:mainfrom
snehatomar1205:feature/recurring-expenses-ui
Open

Implement Recurring Expenses Feature with Chart Breakdown (Frontend + Backend)#114
snehatomar1205 wants to merge 7 commits into
TanmayKalra09:mainfrom
snehatomar1205:feature/recurring-expenses-ui

Conversation

@snehatomar1205

Copy link
Copy Markdown

… > 3

🚀 Pull Request

📋 Description

This pull request implements the Recurring Expenses feature which tracks and visualizes frequently repeated expenses (more than 3 occurrences).
It includes:
Backend logic to calculate and group recurring expenses by category.
A new frontend component that displays a central dashboard widget.
A modal with a pie chart breakdown and expense list using recharts.
Fixes #48

🔍 Type of Change

  • New feature ✨
  • Refactoring or code improvement ♻️

🙋 Your Details

🧪 How Has This Been Tested?

Manually tested the API GET /api/expenses/recurring-breakdown using Postman.
Verified logic: filters expenses with quantity > 3 and groups by category.
Integrated frontend with API using Axios.
Opened modal and validated:
Chart rendering correctly with correct data.
List of items and total recurring amount display properly.
Responsive and matches homepage UI theme.

✅ Checklist

  • [✅ ] I have read the contributing guidelines.
  • [ ✅] I have followed the code style and linting rules.
  • [ ✅] My changes do not introduce any known security issues or vulnerabilities.

@vercel

vercel Bot commented Jul 26, 2025

Copy link
Copy Markdown

@snehatomar1205 is attempting to deploy a commit to the Tanmay Kalra's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 26, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
smart-log ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2025 11:22am

@TanmayKalra09

Copy link
Copy Markdown
Owner

@snehatomar1205 please share some Screenshots and screen recording.

@snehatomar1205

snehatomar1205 commented Jul 27, 2025

Copy link
Copy Markdown
Author

ON Clicking the card named recurring expenses on home page these changes will be seen as mentioned below

Screenshot_20250727-105124
Screenshot_20250727-105036

@snehatomar1205

Copy link
Copy Markdown
Author

Also could u please reassign the level to level - 3
As this issues includes both frontend and backend complexities

@TanmayKalra09

Copy link
Copy Markdown
Owner

Hey @snehatomar1205 your code contains some errors. Please resolve it

@snehatomar1205

snehatomar1205 commented Jul 28, 2025

Copy link
Copy Markdown
Author

Hey @snehatomar1205 your code contains some errors. Please resolve it

From my side everything is working fine .Even I'm running this code that's why I'm able to give screenshots

@TanmayKalra09

Copy link
Copy Markdown
Owner

Hey @snehatomar1205 your code contains some errors. Please resolve it

From my side everything is working fine .Even I'm running this code that's why I'm able to give screenshots

As you can see here also there is a deployment issue, which suggests that there are some errors.

@snehatomar1205

Copy link
Copy Markdown
Author

Hey @snehatomar1205 your code contains some errors. Please resolve it

From my side everything is working fine .Even I'm running this code that's why I'm able to give screenshots

As you can see here also there is a deployment issue, which suggests that there are some errors.

Let me recheck
I'll let you know

@snehatomar1205

Copy link
Copy Markdown
Author

Now check !
as i resolved the conflicts

@TanmayKalra09

Copy link
Copy Markdown
Owner

Hey @snehatomar1205 this is the error.
Screenshot 2025-07-28 at 3 06 13 PM

@snehatomar1205

snehatomar1205 commented Jul 28, 2025

Copy link
Copy Markdown
Author

Hey @TanmayKalra09, I’ve resolved the build error — it was caused by a missing closing div in the JSX structure of HomePage.jsx Please trigger a redeploy on Vercel to verify.

Let me know if anything else is needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Pie Chart to Visualize Income vs Expenses

2 participants