0% found this document useful (0 votes)
70 views

Mini Project Report-Template

The document summarizes a course project report on designing a small business network with a secure e-commerce server. It includes an abstract, introduction, literature survey, requirements analysis, proposed architecture and design, implementation details, results and analysis, and conclusion. The project was carried out by Pranav Tatavarthy and Antara Gupta under the guidance of Dr. S. Thenmalar to fulfill the requirements of a computer networks course.

Uploaded by

pranav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

Mini Project Report-Template

The document summarizes a course project report on designing a small business network with a secure e-commerce server. It includes an abstract, introduction, literature survey, requirements analysis, proposed architecture and design, implementation details, results and analysis, and conclusion. The project was carried out by Pranav Tatavarthy and Antara Gupta under the guidance of Dr. S. Thenmalar to fulfill the requirements of a computer networks course.

Uploaded by

pranav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

SMALL BUSINESS NETWORK DESIGN WITH SECURE E-COMMERCE

SERVER

A COURSE PROJECT REPORT

By

Pranav Tatavarthy (RA2011031010011)


Antara Gupta (RA2011031010019)

Under the guidance of

Dr. S. Thenmalar.

In partial fulfilment for the Course

of

18CSC302J - COMPUTER NETWORKS

in NWC.

FACULTY OF ENGINEERING AND TECHNOLOGY

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

Kattankulathur, Chenpalpattu District

NOVEMBER 2022
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

(Under Section 3 of UGC Act, 1956)

BONAFIDE CERTIFICATE

Certified that this mini project report "Small Business Network Design

with Secure E-commerce server " is the bonafide work of Pranav

Tatavarthhy(RA2011031010011) and Antara Gupta(RA2011031010019) who

carried out the project work under my supervision.

SIGNATURE

Dr. S. Thenmalar
Associate Professor,
Department of Networking and Communications,
SRM Institute of Science and Technology.

II
ABSTRACT

In this project, we primarily focus on implementing a web Application


using socket-io, which is dynamic in nature and is flexible to be used as an
alternative for many chat applications due to the ease of usage, in this application
we intend to make communication easier and more reliable in nature as compared
to the other available options. The Application should be responsive and very easy
to start using hence beautiful UI/UX has to be implemented for making that happen,
This project aims to make a web Application using socket.io and other related
dependencies to make use of these frameworks to their fullest.

The Project is set up so that having multiple users use this web Application at the
same time does not let the application to crash and has a fair share of Site
Reliability, this is to be implemented using smooth databases and popular cloud
hosting platforms such as Microsoft Azure or Amazon Web Servies, etc.

This web Application ensures secure messaging, backing up of messages,


search among the users, Login and Signup and many more features to ensure user
satisfaction and has load balancing traits to accommodate multiple users at one go.

III
ACKNOWLEDGEMENT

We express our heartfelt thanks to our honorable Vice Chancellor


Dr. C. MUTHAMIZHCHELVAN, for being the beacon in all our endeavors.
We would like to express my warmth of gratitude to our Registrar
Dr. S. Ponnusamy, for his encouragement
We express our profound gratitude to our Dean (College of
Engineering and Technology) Dr. T. V.Gopal, for bringing out novelty in all
executions.
We would like to express my heartfelt thanks to Chairperson, School
of Computing Dr. Revathi Venkataraman, for imparting confidence to complete
my course project
We wish to express my sincere thanks to Course Audit Professor
Dr.Annapurani Panaiyappan, Professor and Head, Department of
Networking and Communications and Course Coordinators for their constant
encouragement and support.

We are highly thankful to our my Course project Faculty Dr. S.


Thenmalar, Associate Professor, Department of Networking and
Communications, for his/her assistance, timely suggestion and guidance
throughout the duration of this course project.
We extend my gratitude to our Dr.Annapurani Panaiyappan,
Professor and Head, Department of Networking and Communications and my
Departmental colleagues for their Support.

Finally, we thank our parents and friends near and dear ones who
directly and indirectly contributed to the successful completion of our project.
Above all, I thank the almighty for showering his blessings on me to complete
my Course project.

6
TABLE OF CONTENTS

CHAPTERS CONTENTS PAGE


NO.

1. ABSTRACT
2. INTRODUCTION
3. LITERATURE SURVEY
4. REQUIREMENT ANALYSIS
5. ARCHITECTURE & DESIGN
6. IMPLEMENTATION
7. EXPERIMENT RESULTS & ANALYSIS
7.1. RESULTS
7.2. RESULT ANALYSIS
8. CONCLUSION & FUTURE
ENHANCEMENT
9. REFERENCES

7
1. INTRODUCTION

As we move forward into the future, the need of technological advancements always keeps
arising and as we go forward it is hard to find something that as yet to be implemented as the
scope of improvement is large but the immediate next step is more often than not similar in
most cases and many of the major platform providers do the same, hence they keep attracting
more user base and screen time of the current userbase, since this is an era of advancements
and huge need of better technology, with the socket-io backend web Application and with the
use of Firebase while building the app, people who are in the need of a minimalistic web
Application or have a zeal for open source contribution can openly contribute to the project
and make the community grow as a whole along with their individual benefits such as
guidance from previous contributors and authors and improvement of skills in the process of
contributing to the Web Application.

We also tackle the problem faced in earlier times Earlier, websites used to reload
every-time a resource was requested. This introduced unnecessary delays which increased
average wait time. Often users had to wait for minutes to fetch a particular page or file. Real-
time applications (Instant messenger, Online gaming, push notification etc.), on the other
hand, are those applications which run within a given time-slot such that user is presented
with immediate and up-to-date copy of the resource. Latency in these applications is kept as
low as possible to give smooth and consistent user experience. Socket.IO is one such
JavaScript library that programmers use in developing real-time “Web Applications”.
Therefore Socket-io is used.

8
2. 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.

Electronic Mails

Every day, the citizens of the Internet send each other billions of e-mail messages. If you're
online a lot, you yourself may send a dozen or more e-mails each day without even thinking
about it. Obviously, e-mail has become an extremely popular communication tool. The real e-
mail system consists of two different servers running on a server machine. One is called the
SMTP server, where SMTP stands for Simple Mail Transfer Protocol. The SMTP server
handles outgoing mail. The other is either a POP3 server or an IMAP server, both of which
handle incoming mail. POP stands for Post Office Protocol, and IMA stands for Internet Mail
Access Protocol. Whenever you send a piece of e-mail, your e-mail client interacts with the
SMTP server to handle the sending. The SMTP server on your host may have conversations
with other SMTP servers to deliver thee-mail.
The chatting applications added with mailing service allow the live chat. The transfer of
messages takes place within seconds. Here the numbers of peoplecommunicating are two. So
the saleability 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 100million Internet IM users, where a user is defined as a unique
name on one of the major public IM networks.

9
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.

3. REQUIREMENTS

3.1 Requirement Analysis

From the given scenario, we draw the following requirements:


1. Push Notification feature to let the user know about incoming messages, promotional and
other messages regarding updates.
2. Users on the internet should be able create an account i.e sign up/ login depending on the
situation.
3. Users should be able to check whether users on the other end are currently online or
offline.
4. The users in the organization should have unrestricted access to the server for
communication to be running.
5. The messages should be encrypted and only be viewed by the end users.
We need to make an application design keeping the following requirements in mind.

3.2 Software Requirement

1. 1.Google Firebase: Google Firebase is a Google-backed application development


software that enables developers to develop iOS, Android and Web apps. Firebase
provides tools for tracking analytics, reporting and fixing app crashes, creating
marketing and product experiment.
2.
1
0
3. 2.Android Studio: Android Studio provides a unified environment where you can
build apps for Android phones, tablets, Android Wear, Android TV, and Android
Auto. Structured code modules allow you to divide your project into units of
functionality that you can independently build, test, and debug.

3.Gradle: Gradle is a build automation tool for multi-language software


development. It controls the development process in the tasks of compilation and
packaging to testing, deployment, and publishing. Supported languages include Java,
C/C++, and JavaScript.

4. ARCHITECTURE AND DESIGN

4.1 Network Architecture

The network architecture is as follows:

1
1
The architecture consists of three major networks:
- Firebase
- Client Application
- API + Databases

5. IMPLEMENTATION

Implementation Guide
Extra Points added to avoid bugs faced during implementation,
1 - Project
1.1 - Open the Project in your android studio;
1.2 - IMPORTANT Change the Package Name. If facing bugs refer :
(https://stackoverflow.com/questions/16804093/android-studio-rename-package)

2 - Firebase Panel
- Create Firebase Project (https://console.firebase.google.com/);
- Import the file google-service.json into your project
- Connect to firebase console authentication and database from your IDE
- in firebase Storage Rules, change value of "allow read, write:" from "if request.auth !=
null" to "if true;"
- For sending notification, paste your Firebase project key into your project
APIService.java
- When you change database settings, you likely will need to uninstall and reinstall apps to
avoid app crashes due to app caches.

1
2
6. RESULTS AND DISCUSSION

7. CONCLUSION AND FUTURE ENHANCEMENT

1
3
REFERENCES

1
4

You might also like