Open aceace001 opened 2 years ago
On the "Messages" page, multiple users (clients) will be able to send text messages to one another, and notification will be sent whenever a user joined the chat or left the chat. The chat history will be seen by everyone who joined the channel. Private chat needs to be implemented when combining frontend and backend in the future.
This temporary backend was placed under the "backend-Chat" folder in the main branch. Frontend modifications were also made under the "frontend" folder in the main branch. A video demo (Sprint3-Frontend Chat.mp4) just for this specific functionality was placed in the main branch.
A separated backend was implemented to combine it with the frontend UI for real-time chatting between multiple users who are in the same localhost address "8080". Another piece of the backend was implemented by me separately because the previous backend design was not really capable of combining with the frontend. This "temporary" backend only contains the functionality of real-time chat, and it was implemented based on WebSockets. The frontend was also modified to send input messages data and receive data from WebSockets to display chat history.