fssa-batch3 / fssa-batch3/sec_a_naveenasri.nagarajan__corejava_project_2
User module | Delete User Feature
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## User Delete Process
### User Story
- As a user, I want the ability to deactivate my account in the application.
- Deactivating my account ensures that my personal information is no longer accessible or displayed.
### Task: Implement User Account Deactivation
- [ ] Develop the Data Access Object (DAO) Layer for user account deactivation.
- [ ] Implement the Service Layer to handle the user account deactivation process.
- [ ] Create JUnit Test Cases to validate the correctness of the account deactivation functionality.
- [ ] Ensure that all test cases pass successfully.
- [ ] Enhance code clarity by adding clear and concise comments to explain intricate logic.
### DAO:
- [ ] deleteUser()
### Service:
- [ ] deleteUser()
### Test:
- [ ] testDeleteUserSuccess()
- [ ] testDeleteUserUserNotFound()
### Estimation
- [ ] 1 hrs
### Flow
``` mermaid
graph TD
A[[Start]] --> B([User Initiates Account Delete])
B --> C([Check If User Exists and Active])
C --> |User Not Found or Inactive|H([Validation Exception])
C --> |Display Delete Confirmation| D([User Confirms Delete])
D --> |User Confirms| E[(Delete Account)]
E --> |Return true| F[User Deleted Successfully]
E --> |Fail| G[Failed to Delete User]
H --> G
F --> I[[End]]
G --> I
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.