fssa-batch3 / fssa-batch3/sec_a_aravindth.kannan__corejava_project_2
User module | Update user Feature
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### User Story
As a user, I want the ability to edit my profile information in the application. This will allow me to update details like my name, profile image, mobile number, gender, and date of birth. After making these changes, I expect to see my updated information displayed correctly.
### DAO
- [ ] updateUser()
### Service
- [ ] editUser()
### Service tests
- [ ] testUpdateSuccess()
- [ ] testUpdateEmailNotFound()
- [ ] testUpdateInvalidEmailFormat()
- [ ] testUpdateMissingRequiredField()
### Estimation
- [ ] 7 hours
### Flow Chart
```mermaid
graph TD
A[[Start]] --> B([User Initiates Profile Edit])
B --> C[(Retrieve Current User Data)]
C --> |Display Edit Form| D([User Submits Changes])
D --> |Validation Fail| E{{Validation Exception}}
D --> |Validation Success| F[(Update User Data)]
F --> |Returns User| G([Updated User Details Successfully])
E --> H
F --> |Fail| H([Failed to Update User])
H --> I
G --> I[[End]]
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.