fssa-batch3 / fssa-batch3/sec_a_naveenasri.nagarajan__corejava_project_2

User module | Update User Feature

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement user-module
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## User Update Process
### User Story
- As a user, I want to edit my profile information in the application.
- I should be able to update my name, mobile number.
- After making changes, I expect my updated information to be displayed correctly.

### Task: Implement User Profile Update
- [ ] Develop Data Access Object (DAO) Layer for updating user profile.
- [ ] Implement Service Layer for user profile update functionality.
- [ ] Create JUnit Test Cases to validate the profile update process.
- [ ] Ensure that all test cases are passing successfully.
- [ ] Add clear and concise comments in the code to explain complex logic.

### DAO:
- [ ] updateUser()

### Service:
- [ ] updateUser()

### Test:
- [ ] testLoginSuccess()
- [ ] testUpdateEmailNotFound()
- [ ] testUpdateInvalidEmailFormat()
- [ ] testUpdateMissingRequiredField()

### Estimation
- [ ] 4 hrs

## Flow
```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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.