fssa-batch3 / fssa-batch3/sec_a_susikumar.pitchaimuthu__corejava_project_2

User module | Register Feature

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

Description

# User Story

As a user, I should be able to register in the application using a valid first name, last name, username, and email. If the first name is invalid, the error message will be "User first name is not valid." If the last name is invalid, the error message will be "User last name is not valid." If the username is invalid, the error message will be "User username is not valid." If the email is invalid, the error message will be "User email is not valid." If the password is invalid, the error message will be "User password is not valid."

### DAO:

- [x] createUser()
- [x] getAllUser()
- [x] findUserByEmail()
- [x] updateUser()
- [x] deleteUser()

### Service:
- [x] registerUser()

### Service Tests:
- [x] testRegisterUser()

### Flow

```mermaid
flowchart TD
A[Start]
B[Display Registration Form]
C[User Fills out Form]
D[Validate Information]
E{Validation Successful?}
F[Save User Data]
G[Registration 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.