Realtime Web Chat Application
Realtime Web Chat Application
SYNOPSIS
OF MAJOR PROJECT
2021-2023
INDEX
1 Introduction 1
2 Technology used 2
3 Literature Survey 3
4 Methodology/Planning of project 4
6 Bibliography 7
INTRODUCTION: -
Real time web chat application is a Nodejs Web application which is fully developed in nodejs express
framework or chat engine. My project is related to a new way of chatting with people. Chatting and
communicating with people through internet is becoming common to people and is connecting people all
over the world. Mainly, chatting apps in today’s world mainly focus on connecting people, providing
users with more features like GIFs, stickers etc. But this app, is different from them.
It mainly focuses on chatting and connects people all around the world. Mostly, chatting applications
like WhatsApp requires mobile no. of the person and then we can chat and connect with the person. But
here, the person only has to login with the system, and then he can connect with the people which he
wants with.
The Chat app is an open - source chatting app. It means people all over the world can join the chat
between people easily. We can check and see the people joining and leaving the chat group.
For using the app, firstly we have to register our name in the application. After registration, the
registration of the person is done, he can join the chat room.
The chatting between 2 people can be easily converted into group, as the people chatting easily know if
there is another person, who wants to join the chat between them.
If we have to chat with a specific person, then we just have to know the name of the person. It’s different
from the present chatting applications, as it includes the personal information of the person, which gets
accessed by the person which is following him or is friends with the person. This can save the person
from sharing his personal stuff to strangers, without his consent.
One of the features of this application is that, if a new person connects with them while chatting in
person or in group, then the app shows the people the person is connecting or joining them while being
in the group. Not only group chatting, but personal chatting between people also takes place.
Only during group chatting, people can enter the chat room. While personal chatting, the chat and talk
between people is kept encrypted between them. In simple words, the chat between them cannot be read
by other people, not even by the app.
One of the important features of this app, is related to group chatting. If for example, there are 2 groups
in which there are 15 – 20 people. If more than 5 people are common in both the groups, and an
important message or file is shared in one of the groups, then the person which shared the information is
asked whether the same information is to be shared in the other group. If yes, then the information will
be sent to the other group directly, without any human interference.
TECHNOLOGY USED: -
1. Nodejs
1. HTML
2. CSS
3. CheatEngines’s GUI
4. Reactjs
Database:
1. Chatengine Postgress Database.
LITERATURE SURVEY: -
As we know the use of internet has increased greatly and internet has become one of the easiest
and cheapest sources of communication there are many messaging and chatting applications
coming up. There are already many applications available for communication. The oldest one we
use is electronic mails. Other applications available are the various social websites, SMS, Mobile
Chatting applications and much more.
The chatting applications added with mailing service allow the live chat. The transfer of
messages takes place within seconds. Here the numbers of people communicating are two. So the
salability issue does not come into picture.
Instant Messaging IM is the private network communication between two users, whereas a chat
session is the network communication between two or more users. Chat sessions can either be
private, where each user is invited to join the session, or public, where anyone can join the
session. There are on the order of 100 million Internet IM users, where a user is defined as a
unique name on one of the major public IM networks.
Social Networking Sites. The chats on social network are mainly peer-to-peer, they may happen
in groups. As the chats take place in peer-to-peer they do not need to apply any queue to chat
application. They use the algorithm for showing up the latest news in window and the friends
available online. The friends to which we have chatted frequently are shown in the list. The
newly updated news is at top on the page. The scalability of the chat is checked so that multiple
chats can be carried out simultaneously. Here too the scalability issue comes in picture. As the
numbers of chats are carried out simultaneously the delay time to reply the chats is not fixed. If
the reply time is fixed then delay study of the scalability with time constraint is a problem faced.
METHODOLOGY:
In a chat system, clients can be mobile applications or web applications. Clients do not
communicate directly. Instead, each client connects to a chat service, which supports all of the
features mentioned above. Let’s focus on the basic functionality.
Find the right recipients of each message and pass the message on to the recipients.
If the recipient is offline, hold the recipient's messages on the server until they are online.
If the client intends to start a conversation, it connects to the chat service using one or more
network protocols. For chat service, network protocol selection is important.
Applications are started by the client in most client / server applications. The same is true for
the sender of a chat request. In Figure 2, when the sender sends a message to the recipient via
chat service, he is using a time-tested HTTP protocol, which is the standard web protocol.
In this case, the client opens the HTTP connection with the chat service and sends the
message, notifying the service to send the message to the recipient. Keeping alive works well
in this regard because the topic of keep alive allows the client to maintain ongoing
communication with the chat service. It also reduces the amount of TCP handshake. HTTP is
a good option on the sender's side, and many popular chat apps such as Facebook used HTTP
in the beginning to send messages.However, the recipient side is much more complex. Since
HTTP is client-initiated, it is no small feat to send messages from a server. Over the years,
many techniques have been used to mimic server-initiated communication: voting, long
voting, and WebSocket.
SOFTWERE REQUIREMENTS: -
Framework
HARDWARE
REQUIREMENTS: -
1. Express was created to make APIs and web applications with ease. It saves a
lot of coding time almost by half and still makes web and
2. Mobile applications are efficient.
4. Knowledge of any language. Express lets so many new developers enter the
field of web development.
Node.js also provides a rich library of various JavaScript modules which simplifies the
development of web applications using Node.js to a great extent.
GANT CHART: -
BIBLIOGRAPHY: -
https://nodejs.org/en/docs
www.realtimechatroom.com
http://chatroom.org