fssa-batch3 / fssa-batch3/sec_a_mohammedajmal.iqbol__corejava_project_2

User Module | Update Feature

Open
#3 0 comments 0 reactions 1 assignee Claimed by @Ajmal112 View on GitHub
enhancement user-module
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# User Update Process

### User Story

- When the user provides valid updates to their account information, the system processes the changes, updates the user's details, and confirms the successful update through a notification message.
- If the user provides incomplete or improper information for updating their account details, the system presents error messages associated with the respective fields, guiding the user to input accurate information before proceeding with the update.

### Task

- [x] Implement Data Access Object (DAO) Layer.
- [x] Implement Service Layer.
- [x] Create JUnit Test Cases.
- [x] Ensure that the test cases are passing.
- [ ] Write clear and concise comments in the code to explain complex logic.

### DAO:
- EditUserByUserID()

### Service:
- updateUser()

### Service Test:
TestUpdateFeature
- testUpdateSuccess()
- testUpdateFailure()

### Estimation
- 1:30 hours

# Flowchart

```mermaid
flowchart TD
A[Start]
B[Display Update Form]
C[User Provides Updated Information]
D[Validate Updated Information]
E{Validation Successful?}
F[Update Data]
G[Update Successful]
H[Display Error Messages]
I[End]

A --> B
B --> C
C --> D
D --> E
E -- Yes --> F
F --> G
E -- No --> H
H --> B
H --> I
G --> I

```

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.