fssa-batch3 / fssa-batch3/sec_b_inbalokesh.esakkipandi__corejava_project_2
Create user
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Module: User
- [ ] Create User table
- [ ] Create User model
### Feature 1: Create User
#### User Story:
User can create his new account
#### Pre-requisites:
- [ ] User DAO (create)
- [ ] User Service (create)
#### Validations:
- [ ] Form Validation
- user null
- name (null, empty, pattern)
- email (null, empty, pattern)
- password (null, empty, pattern)
- phone_number (length >= 60000000001 and length <= 9999999999)
- [ ] Business Validation
- phone_number or Email Already Exist
#### Messages:
- [ ] User cannot be null
- [ ] Name cannot be null or empty
- [ ] Email cannot be null or empty
- [ ] Password cannot be null or empty
- [ ] Invalid Email Id
- [ ] Mobile Number must start between 6 - 9 and have 10 digits
- [ ] Invalid String Pattern
- [ ] Password does not match the requested pattern
- [ ] User already exist
#### Flow:
```mermaid
graph TD;
A["User Service: Create new User(User user)"] --> B["Form Validation"] -- Valid --> C{Business Validation}
B -- Invalid --> G[Validation Exception]
C -- Valid --> D["Create User"]
D --> E["New User Created"]
C -- Invalid --> F["Validation Exception"]
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.