fssa-batch3 / fssa-batch3/sec_a_abdulrazak.nasriudeen__corejava_project_2

Workshop Module | Register feature

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

Description

# Workshop Registration Process
## User Story
As a new Workshop Owner , 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] insertWorkShop
- [x] FindWorkShopByNumber

## Service
- [x] registerWorkShop

## Validation
- [x] WorkShopCredential Validation
- [x] WorkShop already present Validation / isValidWorkshop

## Junit Test Cases
### Dao
- [x] insertWorkShopTest
- [x] FindWorkShopByNumberTest
### Service
- [x] registerWorkShop Test
### Validation
- [x] WorkShopInput Validations
- [x] WorkShopCredentials Validation
- [x] isValidWorkshop

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

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.