London | 226-SDC-Mar | Beko | Sprint 2 | Chat App both frontend and backend#85
London | 226-SDC-Mar | Beko | Sprint 2 | Chat App both frontend and backend#85Abubakar-Meigag wants to merge 12 commits into
Conversation
setup vite react typescript project then create the chat app
build chat server with express, websocket, GET and POST messages endpoints
Beko chat app
update server and websocket URLs to deployed domain
Added README.md for client-side documentation.
Added README.md for server documentation including technologies, structure, implementation details, and lessons learned.
cjyuan
left a comment
There was a problem hiding this comment.
Code is well modularised.
Impressive use of React and WS. Could also explore Server Side Event (sse).
I only have a few comment and one question.
| timestamp: new Date().toLocaleTimeString([], { | ||
| hour: "2-digit", | ||
| minute: "2-digit", | ||
| }), |
There was a problem hiding this comment.
Can you suggest a strategy to ensure that users in different time zones see timestamps in their respective local time zones?
There was a problem hiding this comment.
now with this change, each user will see the time converted to their own timezone.
There was a problem hiding this comment.
new Date().toISOString() is a time on UTC (not quite a "local time"). :) A better approach would be format the time on the client side.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
It seems the Validation Bot is not expecting this file to be modified. Can you do the following?
- Move the content from this file to
chat-app/README.md - Revert the changes made on this file
There was a problem hiding this comment.
All the feedback comments are done, including this one. I moved the content and did revert the changes
Thanks you @cjyuan
|
All good. Excellent work. |
Self checklist
Changelist
backend deployment link
https://ggjpdb4d0e0lrtcdbxpdpsrk.hosting.codeyourfuture.io
frontend deployment link
https://beeko-chat-apps.hosting.codeyourfuture.io/