fssa-batch3 / fssa-batch3/sec_a_gopikannan.saravanan__corejava_project_2

Fundraise Module | Create Fundraise

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

Description

### Attributes

- [ ] cause
- [ ] coverPic
- [ ] title
- [ ] story
- [ ] expectedAmount
- [ ] userId

### Validations

- [ ] validateFundriase
- [ ] validateCause
- [ ] valiodateCoverPic
- [ ] validateStory
- [ ] validateTitle
- [ ] validateExpectedAmount
- [ ] validateUserId

### Validation Test :

Test validation

- [ ] testValidateUser
- [ ] testValidateCoverpic
- [ ] testValidateCause
- [ ] testValidateTitle
- [ ] testValidateStory
- [ ] testValidateExpectedAmount
- [ ] testValidateUserID

### DAO:

- [ ] createFundraise()

### Service:
- [ ] createFundraiseService()

### Test:
- [ ] testCreateFundraiseFeatureSuccess()
- [ ] testCreateFundraiseFeatureFail()

### Estimation

- 3 hrs

### Flow

``` mermaid
flowchart TD
subgraph User Input
A[Enter Cause, Image URL, Title, Story, Amount Expected, User ID]
end

subgraph Validation
B[Validate Input]
C{Validation Successful?}
end

subgraph Fundraiser Creation
D[Create Fundraiser]
E{Creation Successful?}
end

subgraph Result
F[Display Success Message]
G[Display Error Message]
end

A --> B
B --> C
C -- Yes --> D
C -- No --> G
D --> E
E -- Yes --> F
E -- No --> G

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.