fssa-batch3 / fssa-batch3/sec_a_kishor.muruganandham__corejava_project_2
User Module | Update User Feature
- Dominant language
- Java
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# User Update Process
### 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.
### Task
- [x] Implement Data Access Object (DAO) Layer.
- [x] Implement Service Layer.
- [x] Create JUnit Test Cases.
- [x] Ensure that the tests cases are passing.
- [x] Write clear and concise comments in the code to explain complex logic.
#### DAO
- updateUser()
#### Service
- editUser()
#### Junit Test
- testValidUpdateUser()
- testInvalidUpdateUser()
### Estimation
- 2 hours
# Flowchart
```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]]
style G fill:#dfd,stroke:#333
style H fill:#fdd,stroke:#333
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.