fssa-batch3 / fssa-batch3/sec_a_susikumar.pitchaimuthu__corejava_project_2

Invite Module | Create Invite

Open
#13 0 comments 0 reactions 1 assignee Claimed by @Susikumar-Pitchaimuthu View on GitHub
enhancement invite-module
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

User Story

To create an invitation and invite your friends, your story should include a valid invite type, time, date, and explanation. If the invite type is invalid, you will receive an error message stating "Invalid invite type." If the invite date is not valid, the error message will be "Invalid invite date." Similarly, if the invite time is not valid, the error message will be "Invalid invite time." Finally, if the invite explanation is not valid, the error message will be "Invalid invite explanation." If all the information provided is valid, the invitation will be successfully created.

### DAO:

- [x] createInvite()

### Service:

- [x] createInvite()

### Service Tests:

- [x] testCreateInvite()

## Flow

```mermaid
flowchart TD
A[Start]
B(Display Invitation Form)
C(User Fills out Form)
D(Validate Information)
E{Validation Successful?}
F(Save Invite Data with User data)
G(Invite Create Successful)
H(Display Error Messages)
I[End]
A --> B
B --> C
C --> D
D --> E
E -- Yes --> F
F --> G
E -- No --> H
H --> B
H --> I
G --> I
```

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.