fssa-batch3 / fssa-batch3/sec_b_mohammedirfan.rahamathulla__corejava_project_2

Create user

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

Description

User Story :
> User can create a new account.
#### Pre-requisites:
- [ ] Create User table
- [ ] User model
- [ ] User DAO (create)
- [ ] User SERVICE (create)

#### Form Validations:
- [ ] Form Validation
* User null
- [ ] id(<0)
- [ ] area( null, empty, pattern )
- [ ] city( null, empty, pattern )
- [ ] email( null, empty, pattern )
- [ ] password( null, empty, pattern )
- [ ] first name( null, empty, pattern )
- [ ] last name( null, empty, pattern )
- [ ] address(null, empty, pattern)

#### Business Validation:
- user email Already exists

### Messages :
* User object can not be null.
* id can not be .
* name cannot be null or empty.
* Name does not match the pattern.
* Area does not match the pattern.
* Area can not be null or empty.
* City can not be null or empty.
* city does not match with the pattern
* first name cannot be null or empty.
* First Name does not match the pattern.
* last name cannot be null or empty.
* Last Name does not match the pattern.
* Address can not be null or empty.
* User already exists

### Flow:
```mermaid
graph TD;
A(User Service - Object user) --> B(Form Validation) -- Valid --> C(Business Validation)
B -- Invalid --> H(Validation Exception)
C -- Valid --> D(Argument Passed to User DAO)
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.