fssa-batch3 / fssa-batch3/sec_a_susikumar.pitchaimuthu__corejava_project_2

Chat module | Create Feature

Open
#9 0 comments 0 reactions 1 assignee Claimed by @Susikumar-Pitchaimuthu View on GitHub
chat-module enhancement
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 send chat messages to your friends or groups. First, check if there is any existing chat group. If a chat group is present, the message will be stored in a table using the chat ID associated with that group. Otherwise, a new chat group ID will be created and the message will be stored in that newly created group. This allows for organized and efficient communication between users.

### DAO:

- [x] createChat()

### Service:

- [x] createChat()

### Service Tests:

- [x] testCreateChat()

## Flow

```mermaid
graph TD
A[Start]
A -->|Fills Chat Message| F(Fill Chat Message)
F -->|Clicks Send Button| G{Check Validation?}
G -->|Validation True| C(Store Chat)
G -->|Validation False| H(Throw Exception: Invalid Chat Creation Details) --> I

C -->|Success| E(Chat Send Successfully ) --> I
I[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.