Development and Evaluation of a Real-Time Communication Web Application Using WebSocket’s, React, Node.js, and MongoDB

Session

Computer Science and Communication Engineering

Description

Web applications are becoming increasingly popular in recent years and have changed the way people communicate on the web. These applications have become an essential part of our daily lives, as they allow us to communicate with people in real time and stay connected with friends, family and colleagues around the world. In the present tense applications for real-time communication have become even more important as work in distance and social distancing have become a normal aspect of our lives. In this paper, we have created a web application that will facilitate real-time communication between users. The application was developed with the most modern technologies, using React, for the front-end part which helps us to create dynamic components and reusable. The back-end part was developed with Node.js while the database was created with MongoDB. To achieve real time communication between two users, we have implemented the Socket.IO package, a widely utilized tool for establishing secure and reliable connections. The application addresses the needs of remote communication by creating a safe, convenient and reliable environment for the community. We tested our application under the demands of 100 users in simultaneous communication. The application showed good performance. Also, we analyzed the performance of our application by creating the same application with PHP and MySQL technology. Research shows that the chat application built with React and MongoDB, Node.js outperforms the application built with PHP and MySQL in real time in terms of speed.

Keywords:

chat, Chat Application, Socket.IO, Node.js, React.js MongoDB, PHP, MySQL

Proceedings Editor

Edmond Hajrizi

ISBN

978-9951-550-95-6

Location

UBT Lipjan, Kosovo

Start Date

28-10-2023 8:00 AM

End Date

29-10-2023 6:00 PM

DOI

10.33107/ubt-ic.2023.293

This document is currently not available here.

Share

COinS
 
Oct 28th, 8:00 AM Oct 29th, 6:00 PM

Development and Evaluation of a Real-Time Communication Web Application Using WebSocket’s, React, Node.js, and MongoDB

UBT Lipjan, Kosovo

Web applications are becoming increasingly popular in recent years and have changed the way people communicate on the web. These applications have become an essential part of our daily lives, as they allow us to communicate with people in real time and stay connected with friends, family and colleagues around the world. In the present tense applications for real-time communication have become even more important as work in distance and social distancing have become a normal aspect of our lives. In this paper, we have created a web application that will facilitate real-time communication between users. The application was developed with the most modern technologies, using React, for the front-end part which helps us to create dynamic components and reusable. The back-end part was developed with Node.js while the database was created with MongoDB. To achieve real time communication between two users, we have implemented the Socket.IO package, a widely utilized tool for establishing secure and reliable connections. The application addresses the needs of remote communication by creating a safe, convenient and reliable environment for the community. We tested our application under the demands of 100 users in simultaneous communication. The application showed good performance. Also, we analyzed the performance of our application by creating the same application with PHP and MySQL technology. Research shows that the chat application built with React and MongoDB, Node.js outperforms the application built with PHP and MySQL in real time in terms of speed.