[ ] Check The user is already exists using phone number
Messages:
Name Cannot be Null or Empty.
Phone Number doesn't match the Pattern.
Email doesn't match the Pattern.
Address Cannot be Empty.
Flow:
graph TD;
A[User Service: Create User] --> B[Form Validation]
B -- Yes --> C{Business Validation}
B -- No --> G[Throws Exception]
C -- Yes --> D[User DAO: Create User]
D --> E[User Service: User Created ]
C -- No --> F[User Service: User Already Exists ]
Feature : User Creation
User Story:
Shop can create new User or Customer .
Prerequisites:
Validations:
Form Validation:
Business Validation:
Messages:
Flow: