Skip to content

feat: add savings goals tracking with milestones#828

Open
liufang88789-ui wants to merge 1 commit intorohitdash08:mainfrom
liufang88789-ui:feat/savings-goals
Open

feat: add savings goals tracking with milestones#828
liufang88789-ui wants to merge 1 commit intorohitdash08:mainfrom
liufang88789-ui:feat/savings-goals

Conversation

@liufang88789-ui
Copy link
Copy Markdown

@liufang88789-ui liufang88789-ui commented Apr 6, 2026

Summary

Implements goal-based savings tracking with milestone support as requested in issue #133.

Changes

Backend

  • New models (packages/backend/app/models.py): SavingsGoal and SavingsMilestone
  • New route (packages/backend/app/routes/savings.py): full REST API for savings goals
  • Blueprint registered at /savings
  • Tests (packages/backend/tests/test_savings.py): CRUD, milestones, auth guards, validation

Frontend

  • API module (app/src/api/savings.ts): typed client for all savings endpoints
  • Page (app/src/pages/Savings.tsx): full page with goal management and milestones
  • Navbar + route registered for /savings

Test Coverage

  • SavingsGoal CRUD
  • SavingsMilestone add/update/delete
  • Contribute endpoint (auto-reaches milestones)
  • Auth guards (unauthorized returns 401)
  • Negative amount validation

Claim

/claim #133

Closes #133

- Backend: SavingsGoal + SavingsMilestone models (packages/backend/app/models.py)
- Backend: CRUD + contribute endpoint (packages/backend/app/routes/savings.py)
- Backend: Blueprint registered at /savings
- Backend: Tests covering CRUD, milestones, auth guards, validation
- Frontend: api/savings.ts client module
- Frontend: Savings.tsx full page (list, create, contribute, milestones)
- Frontend: Navbar + route added for /savings
- Closes rohitdash08#133
@liufang88789-ui
Copy link
Copy Markdown
Author

Hi @rohitdash08 — just a quick check-in on this PR. The savings goals & milestones implementation is complete and all checks are passing. Ready for review whenever you have a moment. Let me know if you'd like any adjustments!


Bounty hunter: liufang88789-ui

@liufang88789-ui
Copy link
Copy Markdown
Author

Hi @rohitdash08 — quick follow-up on PR #828.

I’ve already included /claim #133 in the PR body. I also tested the full flow locally, including:

  • creating/editing/deleting savings goals
  • adding contributions and milestone progression
  • validation and auth guards
  • completion behavior when a goal reaches its target

I can share a short demo video as well if that helps review. If you'd prefer a smaller scope or a narrower version of the feature first, I’m happy to adjust the PR accordingly.

Thanks.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Goal-based savings tracking & milestones

1 participant