fssa-batch3 / fssa-batch3/sec_b_santhosh.devendran__corejava_project_2
Create user
- Lingua principale
- HTML
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Feature: Create User
>Create a new user in a database.
#### Pre-requisites:
- [ ] user DAO( create user )
- [ ] user service ( create(User user) )
#### Validations:
- [ ] Form Validation
* create( User user )
* user null
* name ( null, empty, pattern )
* email ( null, empty, pattern )
* password ( null, empty, pattern )
* phone number ( length, >= 600000001 && <= 9999999999 )
- [ ] Business Validation
* Email Already exists
#### Messages:
* Invalid User object
* Invalid name input
* Invalid email input
* Invalid password input
* Invalid phone number input
* User already exists
#### Flow:
```mermaid
graph TD;
A[Value Passed to UserService - User Object] --> B[Form Validation & Business Validation]
B--> C{Validation Result}
C -- Valid --> D[Value Passed to UserDAO]
D --> E[Store Value in Database]
C -- Invalid --> F[Validation Exception]
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.