fssa-batch3 / fssa-batch3/sec_a_susikumar.pitchaimuthu__corejava_project_2

Invite Module | Read Invite

Open
#15 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

As a user, you should be able to view the invitation you have created by providing a valid user ID and invite ID. First, the system will check if the invite ID is present. If it is, it will then verify the invitation associated with the user ID. If the invite ID is invalid, an error message will be displayed stating "Invalid invite ID." Similarly, if the user ID is invalid, the error message will be "Invalid user ID." If all the information is valid, the system will display the invite.

### DAO:
- [x] readInvite()

### Service:

- [x] readInvite()

### Service Tests:

- [x] testReadInviteSuccess()

## Flow

```mermaid
flowchart TD
A[Start]
B(User wants to view an invitation)
C{Validate information}
D(Display invite)
E(Display error message)
A -->|User ID, Invite ID| B --> C
C -->|Valid| D
C -->|Invalid| E
D -->|Show Invite| END
E -->|Show Error Message| END
```

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.