RealDevSquad / RealDevSquad/website-backend
Refactor the code to user single service to update the user Data in DB
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Issue Description
Ideally we should use single service to update data in DB but Now we are not using a model service to update the user data in DB some developers has use it but some developers has created new function to update the user document.
Expected Behavior
Ideally we should use single service to update data in DB.
Current Behavior
we are not using a model service to update the user data in DB some developers has use it but some developers has created new function to update the user document.
Severity/Priority
- Critical
- High
- Medium
- Low
Additional Information
Checklist
- I have read and followed the project's code of conduct.
- I have searched for similar issues before creating this one.
- I have provided all the necessary information to understand and reproduce the issue.
- I am willing to contribute to the resolution of this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating every function that updates the user document and the existing model service, then inventory their callers; the work is done when all user-data updates use one service and the relevant test suite passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100