fssa-batch3 / fssa-batch3/sec_a_jayaprakash.jaisankar__corejava_project_2

User Module | Delete User Feature

Open
#15 0 comments 0 reactions 1 assignee Claimed by @JAYAPRAKASHJAISANKAR View on GitHub
enhancement user-module
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 would like the ability to deactivate my account in the application. By deactivating my account, I ensure that my personal information is no longer accessible or displayed.

### Task
- [ ] Implement Data Access Object (DAO) Layer.
- [ ] Implement Service Layer.
- [ ] Create JUnit Test Cases.
- [ ] Ensure that the tests cases are passing.
- [ ] Write clear and concise comments in the code to explain complex logic.
### DAO
- [ ] deleteUser()
### Service
- [ ] deleteUser()
### Junit Test
- [ ] testValidDeleteUser()
- [ ] testInvalidDeleteUser()
### Estimation
2 hours

### Flow Chart:
``` 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

style F fill:#dfd,stroke:#333
style G fill:#fdd,stroke:#333

```

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.