fssa-batch3 / fssa-batch3/sec_b_thamim.subansait__corejava_project_2

create user

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

user Story

user details will successfully store in database
### Pre - requisites : -

- [ ] user table
- [ ] user model
- [ ] user Dao(create)
- [ ] user service (create)

#### Validations:

- [ ] Form validator
* user object (null)
* user email (null, empty, pattern)
* user name (null, empty, pattern)
* user password(null, empty, pattern)
* user date of birth( null, empty,age greater than 16)

- [ ] Business Validation
* Email Already exists

#### Messages :

* User object cannot be null
* Invalid name input
* Invalid email input
* Invalid password input
* age must be 16
* User already exists

#### Flow:
> Invalid When a user's email is already in use or when the input provided does not meet the criteria, users arise.

```mermaid

graph TD;

A(UserService - Object user) --> B(Form Validation) -- Valid --> C(Business Validation)

B -- Invalid --> H(Validation Exception)

C -- Valid --> D(Argument Passed to UserDAO)

D --> F(Store Value in Database)

C -- Invalid --> G(Validation Exception)

```

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.