Sei sulla pagina 1di 16

Department of computer science

Maharaja Krishnakumarsinhji Bhavnagar University

Joshi Biztech Solutions Limited


Bhavnagar, Gujarat – 364001

1A Project Report
On
“Chat module”
Submitted in Partial fulfillment of the requirement for SEM – 5
Project.

1. Company Name Joshi Biztech Solutions Limited


2. Project Title Chat Module
3. Internal Guide Mr. Amit Hariyani
4. External Guide Mr. Nirmit Waghela
5. Project  Prarthana Lakhnotra
Members  Omni Kukadiya

Prarthana Lakhnotra Page 1/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

CHAT MODULE
 Introduction

 Chat Module is an independent module for chatting using


Node.js, Express.js and Socket.IO
 You have no need to save your messages anywhere, this
module automatically done this.

 Analysis

 Here we have tried to implement our own chat application


which completely depends on open source technologies and
is extremely easy to implement.
 There is no limit for users. Any number of users can chat with
the associated chat groups or personal chat.
 We are using MongoDB for storing the data. It is fastest among
all the database in the world. It can store and retrieve millions
of data in a second.
 This application would be very useful for users who are
interested in complete their queries, want to share their
thoughts with friends and family using chat groups.
 Chatting is most useful and most preferable by people.
 So, this application would make a good impression over the
public.
Prarthana Lakhnotra Page 2/16 [ 22250044]
Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Resources

a. Browser (Google Chrome)


b. Internet Connection required for running on server.

 Development Tool

 Visual Studio Code


 An understanding of HTML, JavaScript and CSS.
 Some familiarity with Node.js and Express or a similar Framework.
 Node, git and npm installed.

 Technologies

 Node js
 React js
 MongoDB

Here we are defining this Technology in brief.

Prarthana Lakhnotra Page 3/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Node js

o Node.js is an open source development platform for


executing JavaScript code server-side.
o Node is useful for developing applications that require a
persistent connection from the browser to the server and
is often used for real-time application such as chat, news
feeds and web push notifications.

Prarthana Lakhnotra Page 4/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 React js

o ReactJS basically is an open-source JavaScript library


which is used for building user interfaces specifically for
single page applications.
o React allows developers to create large web applications
which can change data, without reloading the page.
o The main purpose of React is to be fast, scalable, and
simple. It works only on user interfaces in application.
o It can be used with a combination of other JavaScript
libraries or frameworks, such as Angular JS in MVC.

Prarthana Lakhnotra Page 5/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Mongo DB

o MongoDB is an Open source database management system


that uses a document-oriented database model which
supports various forms of data.
o Instead of using tables and rows as in relational databases,
the MongoDB architecture is made up of collections and
documents.

Prarthana Lakhnotra Page 6/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

PROGRESS OF WORK

1. Login

 The purpose of security we can provide login activity in this application.


 When you have valid email id and password then click on Login button. It
will allow you to access your account.
 And if you are a new user then click on Register here button.
 If you have forgot your password then click on the link. It will help you to
renew your password.

Prarthana Lakhnotra Page 7/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Login Validation

 Email id should not be incorrect.


 Password also should not enter incorrect.
 Forgot password prompt a screen where you have to enter
valid email id that should be exist.

Prarthana Lakhnotra Page 8/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

2. Forgot Password

 If you have forgotten your password and you previously entered an email
address when signing up for the account and you still have access to that
email account, then this special page can help you recover access to your
account.
 You can enter your email id. The system will send a temporary password
to your saved email address that will allow you to retrieve your account.
 You can change the password after you log in.

Prarthana Lakhnotra Page 9/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

3. Registration

 If you are a new user, then you have to register.


 Open chat application and click on Register here, it will pop up above
window.
 Then you have to submit valid information to successfully register.
 To go to login page, click on Back to login.

Prarthana Lakhnotra Page 10/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Registration validation

 Name field not left empty.


 Email id field should be valid and doesn’t already exist.
 Enter Birthdate field in proper format.
 Password field should not left empty and it must enter
valid.

Prarthana Lakhnotra Page 11/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Connection

 We have used MONGODB COMPASS community to store our data.


 When you register properly, your all data will store in this database.
 MONGODB COMPASS provides a native GUI to analyze collections and
beautifully visualize your schema.
 The ability to derive a document-based data model is one of the most
attractive advantage of MongoDB.
 The detail of the users are stored in this database.
Prarthana Lakhnotra Page 12/16 [ 22250044]
Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

4. Online users

 Online users are those who are directly interacting with a computer
system in real time.
 Online user displays the list of users that are currently online in this
application.
 Here we have stored name, email id and date of birth.
 When you enter correct Email id and name, then you can see this type
of menu which contains beginning, online users and my profile.

Prarthana Lakhnotra Page 13/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

5. My Profile

 My profile will allow you to update your detail like name, date of birth
etc.
 It will also allow you to delete your account permanently.
 All the data that has been updated will also make updates in our
database.

Prarthana Lakhnotra Page 14/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Data Table

1. Registration Table

Field_name Datatype Size


Id integer 30 Primary key
Name varchar 30
Email id varchar 30
Date of Birth Date
Password integer 10
Created date Date
Updated date Date

2. Online users Table

Field_name Datatype size


Id Integer 30 Primary key
Name Varchar 30
Email id Varchar 30
Date of Birth Date

Prarthana Lakhnotra Page 15/16 [ 22250044]


Omni Kukadiya [22250038]
Department of computer science
Maharaja Krishnakumarsinhji Bhavnagar University

 Use Case Diagram

Prarthana Lakhnotra Page 16/16 [ 22250044]


Omni Kukadiya [22250038]

Potrebbero piacerti anche