fssa-batch3 / fssa-batch3/sec_a_abdulrazak.nasriudeen__corejava_project_2

User Module | Register feature

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement MileStone 1 User Module
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# User Registration Process
## User Story
As a new user, I want a seamless registration process that allows me to sign up using my mobile number and password ensuring a quick and hassle-free onboarding experience. This way, I can swiftly access the platform's features and start exploring without any delays.

## Task
- [x] Implementation of DAO Layer
- [x] Validation of inputs
- [x] Implementation of a Service Layer
- [x] Create JUnit TestCases
- [x] Ensure Test Cases are passing
- [x] Write comments for the methods used

## DAO
- [x] Insert User
- [x] FindUserByNumber

## Service
- [x] registerUser

## Validation
- [x] UserCredential Validation
- [x] User already present Validation

## Junit Test Cases
### Dao
- [x] insertUserTest
- [x] findUserByIdTest
### Service
- [x] Create User Test
### Validation
- [x] User Input Validations
- [x] User Credentials Validation
- [x] isValidUser

## Estimation Time
1 hour

## FlowChart
```mermaid
graph TD;
A[Start] --> B[User Credentials Validations];
B --> |Valid|C[Active User Validation];
B --> |InValid|E[ InValidEntryException]
E --> |Fail| H[ Registration Failed ]
C -->| User not Active | D[ Register User ];
D -->|Success| J[ Registration Successfull ]
C -->| Active User | F[ Validation Exception ];
F --> | Fails | H
J --> K[ end ]
H -->A

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.