fssa-batch3 / fssa-batch3/sec_b_vigneshwar.vijayakumar__corejava_project_2
Create new User
- Lingua principale
- Java
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
#### User Story:
> User can create a new account.
#### Pre-requisites:
- [ ] Create User table
- [ ] User model
- [ ] 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, >= 600000001 && <= 9999999999 )
- [ ] Business Validation
- Email Already exists.
#### Messages:
- User object can not be null.
- Name cannot be null or empty.
- Email cannot be null or empty.
- Email does not match the pattern.
- Password can not be null or empty.
- Password does not match the pattern.
- Phone number can not be less than or more than 10 digits.
- Phone number does not match the pattern.
- User already exists.
#### Flow:
```mermaid
graph TD;
A(Value Passed to UserService - User Object) --> B(Form Validation) -- Valid --> C(Business Validation)
B --Invalid --> G(Validation Exception)
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
Direzione di ricerca
Inizia individuando il User model, il User DAO e il User Service indicati nei prerequisiti, quindi segui il flusso UserService-to-UserDAO descritto nell’issue. Il lavoro è completato quando esistono una tabella User e un percorso di creazione dell’account, le validazioni del modulo e di business elencate producono i messaggi specificati e i dati validi vengono memorizzati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- backend, database
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100