Skip to content

NW| 26-Jul-SDC | Ahmad Hmedan | Sprint 2 | Chat-app CYT-1162 - #118

Open
AhmadHmedann wants to merge 3 commits into
CodeYourFuture:mainfrom
AhmadHmedann:chat-app
Open

NW| 26-Jul-SDC | Ahmad Hmedan | Sprint 2 | Chat-app CYT-1162#118
AhmadHmedann wants to merge 3 commits into
CodeYourFuture:mainfrom
AhmadHmedann:chat-app

Conversation

@AhmadHmedann

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1162

Changelist

Features:

  • Send chat messages
  • View existing message history
  • Receive new messages in real time using WebSockets
  • Like and dislike messages

chat Application Deployment

Backend :
https://hm-chat-application.trainees.hosting.cyf.academy/

Frontend :
https://ahmadhm-chat-application.trainees.hosting.cyf.academy/

@AhmadHmedann AhmadHmedann added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 7, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work on this app, it works pretty well.

Good use of websockets.

I have a few questions to follow up on, see below

Comment thread chat-app/frontend/shared.mjs
Comment thread chat-app/frontend/websocket.mjs
Comment thread chat-app/backend/websocket-server.mjs
Comment thread chat-app/backend/websocket-server.mjs Outdated


function handleReceivedMessage(receivedObject,connection){
if(receivedObject.type==="newMessage")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting looks a bit inconsistent in this file, did you remember to run a formatter before opening the PR?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I forgot to run the formatter before opening the PR. I’ll do it now. Thanks for pointing it out.

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 7, 2026
@AhmadHmedann AhmadHmedann added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Sep 7, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thanks for answering my Qs. This PR is complete now

@LonMcGregor LonMcGregor added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants