You are on page 1of 29

Industrial Training Report

INDUSTRIAL TRAINING REPORT

PASSPORT AUTHENTICATION USING NODEJS

Submitted By:

Name: Rahul Gupta


University Roll No. 1603213068

SUBMITTED TO:

Department of Information Technology


ABES ENGINEERING COLLEGE
GHAZIABAD

Page 1 of 29
Industrial Training Report

CERTIFICATE OF COMPLETION

Page 2 of 29
Industrial Training Report

DECLARATION

I hereby declare that the Industrial Training Report entitled (Passport Authentication Using
NodeJS) is an authentic record of my own work as requirements of Industrial Training during the
period from
29 July 2019 to 29 August 2019 for the award of degree of B.Tech. (Information Technology),
ABES Engineering College, Ghaziabad, under the guidance of Mr. Gaurav Bansal (Project
Manager) on 30 August 2019.

______________
RAHUL GUPTA
1603213068
Date: ____________________

ACKNOWLEDGEMENT

Page 3 of 29
Industrial Training Report

The internship opportunity I had with “Tech Mahindra Limited” was a great chance for learning and
professional development. Therefore, I consider myself as a very lucky individual as I was provided with an
opportunity to be a part of it. I am also grateful for having a chance to meet so many wonderful people and
professionals who led me though this internship period.

During the period of my internship work, I have received generous help from many quarters, which I like to
put on record here with deep gratitude and great pleasure.

I would like to express my indebtedness appreciation to my Project Guide Mr. Gaurav Bansal. His constant
guidance and advice played the vital role in making the execution of the report. She always gave me his
suggestions that were crucial in making this report as flawless as possible.

RAHUL GUPTA

ABES ENGINERRING COLLEGE


GHAZIABAD

ABOUT COMPANY

Page 4 of 29
Industrial Training Report

Tech Mahindra Limited is an Indian multinational subsidiary of the Mahindra


Group, providing information technology (IT) services and business process
outsourcing (BPO) to companies in various vertical and horizontal
markets. Anand Mahindra is the Chairman of Tech Mahindra, which is
headquartered at Pune and has its registered office in Mumbai. As of January
Company
2018, Tech Mahindra is a US$4.9 billion company with over 121,840+ employees
across 90 countries. The company was ranked #5 in India's IT firms and overall
#111 in Fortune India 500 list for 2012. On 25 June 2013, Tech Mahindra
announced the completion of a merger with Mahindra Satyam. Tech Mahindra
has 926 active clients as of March 2018.

Established 1986

Type Public

Traded as BSE: 532755

NSE: TECHM

Industry IT services, IT consulting

Founded 24 October 1986; 33 years ago

Founder Anand Mahindra

Headquarters Pune, Maharashtra, India

Area served Worldwide

Key people Anand Mahindra (Chairman)

C.P. Gurnani (MD & CEO)

Page 5 of 29
Industrial Training Report

Services Outsourcing
Consulting
Managed services

Revenue US$4.9 Billion (2018)

Operating income US$728 million (2018)

Net income US$588 million (2018)

Total assets US$4.67 billion (2018)

Total equity US$2.79 billion (2018)

Number of 121,840 (2018)


employees

Parent Mahindra Group

Page 6 of 29
Industrial Training Report

Table of Contents

1. Problem Statement………………………………… 5
1.0. Introduction……………………………………………….6
1.1. Purpose…………………………………………………… 6
1.2. Scope……………………………………………………… 7
1.3. Definitions, Accronyms and Abbreviations ..10
1.4. References…………………………………………….… 10

1.5 Technologies Used………………………………………11

1.6 Tools Used…..................................................11

1.7 Overview…………………………………………………. 12

2 Overall Description..……………………....................12
2.1. Product Perspective….……………………………….. 13
2.2. Software Interface……………………………………… 14
2.3. Hardware Interface…………………………………….. 14
2.4. System Functions……………………………………… 15
2.5. User Characteristics…………………………………… 15
2.6. Constraints……………………………………………… 16
2.7. Assumptions and Dependencies……………………16
3. Use Case Diagram……………….………………………. 17
Page 7 of 29
Industrial Training Report

4. Activity Diagram…………………….……………………. 18
5. Class Diagram…………………………………………….. 19
6. Interaction Diagram……..……………………………….. 20
7. State Chart Diagram……..………………………………. 21
8. DEPLOYMENT DIAGRAM AND COMPONENT
DIAGRAM…………………………………………………………. 21
9. Component Diagram……..……………………………… 22
10. Implementation of User Interface Layer………….23
11. Conclusion and Summary….…………………………. 24
12. Daily Report……………………………………………… 25

1. PROBLEM STATEMENT:

Passport Authentication System is used in the effective dispatch of passport to all of the applicants. This
system adopts a comprehensive approach to minimize the manual work and schedule resources, time in a

Page 8 of 29
Industrial Training Report

cogent manner. The core of the system is to get the online registration form (with details such as name,
address etc.,) filled by the applicant whose testament is verified for its genuineness by the Passport
Authentication System with respect to the already existing information in the database. This forms the first
and foremost step in the processing of passport application. After the first round of verification done by the
system, the information is in turn forwarded to the regional administrator's (Ministry of External Affairs)
office. The application is then processed manually based on the report given by the system, and any
forfeiting identified can make the applicant liable to penalty as per the law. The system also provides the
applicant the list of available dates for appointment to 'document verification' in the administrator's office,
from which they can select one. The system forwards the necessary details to the police for its separate
verification whose report is then presented to the administrator. The administrator will be provided with an
option to display the current status of application to the applicant, which they can view in their online
interface. After all the necessary criteria have been met, the original information is added to the database
and the passport is sent to the applicant.

1.0 INTRODUCTION
Passport Authentication System is an interface between the Applicant and the Authority responsible for
the Issue of Passport. It aims at improving the efficiency in the Issue of Passport and reduces the
complexities involved in it to the maximum possible extent.

1.1 PURPOSE

If the entire process of 'Issue of Passport' is done in a manual manner then it would takes several months for
the passport to reach the applicant. Considering the fact that the number of applicants for passport is
increasing every year, an Automated System becomes essential to meet the demand. So this system uses
several programming and database techniques to elucidate the work involved in this process. As this is a
matter of National Security, the system has been carefully verified and validated in order to satisfy it.

1.2 SCOPE

 The System provides an online interface to the user where they can fill in their personal details and
submit the necessary documents (may be by scanning).

Page 9 of 29
Industrial Training Report

 The authority concerned with the issue of passport can use this system to reduce his workload and
process the application in a speedy manner.
 Provide a communication platform between the applicant and the administrator.
 Transfer of data between the Passport Issuing Authority and the Local Police for verification of
applicant's information.
 Users/Applicants will come to know their status of application and the date in which they must
subject themselves for manual document verification.

1.3 DEFINITIONS, ACRONYMS AND THE ABBREVIATIONS

 Administrator
Refers to the super user who is the Central Authority with the privilege to manage the entire system.
It can be any higher official in the Regional Passport Office of Ministry of External Affairs.

 Applicant
One who wishes to obtain the Passport.

 PAS
Refers to this Passport Authentication System.

 HTML
Markup Language used for creating web pages.

 J2EE

Java 2 Enterprise Edition is a programming platform java platform for developing and running
distributed java applications.

 HTTP
Hyper Text Transfer Protocol.

 TCP/IP

Transmission Control Protocol/Internet Protocol is the communication protocol used to connect


hosts on the Internet.

1.4 REFERENCES
IEEE Software Requirement Specification format.

Page 10 of 29
Industrial Training Report

1.5 TECHNOLOGIES TO BE USED

• HTML
• JavaScript
• CSS
• MongoDB
• NodeJS
• NPM

1.6 TOOLS TO BE USED

• Eclipse IDE (Integrated Development Environment)


• Rational Rose tool (for developing UML Patterns)

1.7 OVERVIEW

SRS includes two sections overall description and specific requirements


Overall Description will describe major role of the system components and interconnections.

Specific Requirements will describe roles & functions of the actors.

2.0 OVERALL DESCRIPTION

2.1 PRODUCT PERSPECTIVE

The PAS acts as an interface between the 'applicant' and the 'administrator'. This system tries to make the
interface as simple as possible and at the same time not risking the security of data stored in. This minimizes
the time duration in which the user receives the passport.

2.2 SOFTWARE INTERFACE

Page 11 of 29
Industrial Training Report

• Front End Client - The applicant and Administrator online interface is built using HTML, CSS and
JavaScript.
• Web Server – MongoDB Server
• Back End – NodeJS

2.3 HARDWARE INTERFACE

The server is directly connected to the client systems. The client systems have access to the database in the
server.

2.4 SYSTEM FUNCTIONS

 Secure Registration of information by the Applicants.


 Schedule the applicants an appointment for manual verification of original documents.
 Panel for Passport Application Status Display by the Administrator.
 SMS and Mail updates to the applicants by the administrator.
 Administrator can generate reports from the information and is the only authorized personnel to
add the eligible application information to the database.

2.5 USER CHARACTERISTICS


 Applicant: These are the person who desires to obtain the passport and submit the
information to the database.

 Administrator: He has the certain privileges to add the passport status and to approve the
issue of passport. He may contain a group of persons under him to verify the documents and
give suggestion whether or not to approve the dispatch of passport.

 Police: He is the person who upon receiving intimation from the PAS, perform a personal
verification of the applicant and see if he has any criminal case against him before or at
present. He has been vetoed with the power to decline an application by suggesting it to the
Administrator if he finds any discrepancy with the applicant. He communicates via this PAS.

Page 12 of 29
Industrial Training Report

2.6 CONSTRAINTS

 The applicants require a computer to submit their information.


 Although the security is given high importance, there is always a chance of intrusion in the
web world which requires constant monitoring.
 The user has to be careful while submitting the information. Much care is required.

2.7 ASSUMPTIONS AND DEPENDENCIES

 The Applicants and Administrator must have basic knowledge of computers and English
Language.
 The applicants may be required to scan the documents and send.

3. USECASE DIAGRAM:

The Passport Authentication system use cases are:


1. Login
2. Registration
3. Verification
4. Check status
5. Enquiry
6. Dispatch Passport

ACTORS INVOLVED:
1. Applicant
2. Passport Officer
3. Police

USE-CASE NAME: LOGIN


The applicant login to the system to obtain a passport

Page 13 of 29
Industrial Training Report

USE-CASE NAME: REGISTRATION


The Applicant enters his name and details for applying a Passport. The applicant initially give his/ her details
for registration.

USE-CASE NAME: VERIFICATION


The system verifies the applicant mandatory information given by him/her.

USE-CASE NAME: CHECK STATUS


The Applicant tries to check the status in which category applied. The system displays the message to the
applicant.

USE-CASE NAME: ENQUIRY


The police receive intimation from the PAS, perform a personal verification of the applicant and see if he has
any criminal case against him before or at present. He has been vetoed with the power to decline an
application by suggesting it to the Administrator if he finds any discrepancy with the applicant. He
communicates via this PAS.

USE-CASE NAME: DISPATCH PASSPORT

The administrator check or process the application which are submitted by applicant .Process the application
means the data which are given by the applicant is processed to create a passport for the applicant and
finally dispatches the passport to the applicant

Page 14 of 29
Industrial Training Report

logi
n

applican
t

registratio
n passport
officer

verificatio
n

check status

enquir
y
polic
e

dispatch
passport

Fig.3. USECASE DIAGRAM FOR PASSPORT AUTHENTICATION SYSTEM

4. ACTIVITY DIAGRAM:

Page 15 of 29
Industrial Training Report

The activity diagram represents the series of activities that are occurring between the objects. Following is
activity diagram which represents the Software personnel management system process .

Fig.4. ACTIVITY DIAGRAM FOR PASSPORT AUTHENTICATION SYSTEM

5. CLASS DIAGRAM:
The class diagram is referred as object modeling in the static analysis diagram. The main task of object
modeling is to graphically show what each object will do in the problem domain.

Page 16 of 29
Industrial Training Report

The problem domain describes the structure and the relationships among objects. The
Passport Authentication system class diagram consists of five classes

1. Login class
2. Appointment class
3. Registration class
4. Authority class
5. Verification class

1) LOGIN CLASS:
It consists of two attributes and two operations. The attributes are user name, and password. The
operations of this class are creating login ( ), sign in ( ).

2) APPOINMENT CLASS:

The attributes of this class are appointment id, applicant id, date, time, and description. The operation of
this class are get appointment ( ), get appointment status ( ), Modify ( ), cancel ( ).

3) REGISTRATION CLASS:

The attributes are applicant id, name, dob, gender, birthplace, father name, addr1, addr2, district, state,
country, pin code, mobile, email id, qualification. The operation are add ( ), modify ( ), view ( ).

4) AUTHORITY CLASS:

The attributes of this class are officered, name, designation, and password. The operations are search ( ).

5) VERIFICATION CLASS:

The attributes of this class are verification id, appointment id, applicant id, officer id, status id, description.
The operation are verify ( ).

Page 17 of 29
Industrial Training Report

Fig.5.CLASS DIAGRAM FOR PASSPORT AUTHENTICATION SYSTEM

6. INTERACTION DIAGRAM:
 A sequence diagram represents the sequence and interactions of a given USE-CASE or scenario.
Sequence diagrams can capture most of the information about the system.
 Most object to object interactions and operations are considered events and events include signals,
inputs, decisions, interrupts, transitions and actions to or from users or external devices.
 An event also is considered to be any action by an object that sends information.
 The event line represents a message sent from one object to another, in which the
 “form” object is requesting an operation be performed by the “to” object. The “to” object performs
the operation using a method that the class contains.

 It is also represented by the order in which things occur and how the objects in the system send
message to one another.
 The sequence diagram for each USE-CASE that exists when a user administrator, check status and
new registration about passport Authentication system are given.

Page 18 of 29
Industrial Training Report

Fig.6.1. SEQUENCE DIAGRAM FOR LOGIN AND VERIFICATION

Page 19 of 29
Industrial Training Report

5: Check username/Pwd
12: Check username/Pwd

1: Create Login
3: Enter Username/Pwd
9: Signin 4:
14: Enter applicant information LoginCla
UI
ss

2:
8:
: applicant 13: show Registration Form
10: get username/pwd
24: shows applicant ID, Date & time
6: save username/pwd
23: 7:
11:
15:
16: check applicant information
Databas
17: save applicant information e

20: save date a nd time


Registratio 18:
nClass 19: get date and time
21:

22: Appointme
ntClass

Fig.6.2.COLLABORATION DIAGRAM FOR LOGIN AND VERIFICATION

 The diagrams show the process done by the Passport Authority to the Passport Authentication
system. The applicant has to enter his details.
 The details entered are verified by the Passport Authority and the applicant is approved if the details
match then the passport is dispatch, otherwise an appropriate error message is displayed.

7. STATE CHART DIAGRAM:


 Every object undergoes through some state and on receiving some event the state gets
changed. This transition of the state can be represented by the state transition diagram.

Page 20 of 29
Industrial Training Report

Fig.7.STATE CHART DIAGRAM FOR PASSPORT AUTHENTICATION


SYSTEM

8. DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM

Deployment diagrams are used to visualize the topology of the physical components of a system where the
software components are deployed.

Fig.8.1 DEPLOYMENT DIAGRAM FOR PASSPORT AUTHENTICATION SYSTEM

Page 21 of 29
Industrial Training Report

9. COMPONENT DIAGRAM

Component diagrams are used to visualize the organization and relationships among components in a
system.

Fig.8.2 COMPONENT DIAGRAM FOR PASSPORT AUTHENTICATION SYSTEM

10. IMPLEMENTATION OF USER INTERFACE LAYER

Fig.11.1. Homepage

Page 22 of 29
Industrial Training Report

Fig.11.2. Login Form

Fig.11.3. Registration Form

11. Conclusion and summary

Page 23 of 29
Industrial Training Report

Conclusion
After undergoing a 5 weeks of industrial training at Tech Mahindra Ltd., there are a lot of new technologies
that can be learned and I get to understand altogether on how this firm plays an important role in industrial
field, especially in IT services and solutions. Exposure that have been given to me by Tech Mahindra staff
about the working and technical aspect is very meaningful knowledge to me in order to prepare myself
before stepping into the real work environment on the upcoming days.

Summary

My 5 weeks Industrial Training at Tech Mahindra Ltd. was a huge success and a great time of acquisition of
knowledge and skills. Through my training I was able to appreciate my chosen course of study even more,
because I had the opportunity to blend the theoretical knowledge acquired from school with the practical
hands-on application of knowledge gained here to perform very important tasks that contributed in a way to
my productivity in the company. My training here has given me a broader view to the importance and
relevance of Web Design Development in the immediate society and the world as a whole, as i now look
forward to impacting it positively after graduation. I have also been able to improve my communication and
presentation skills and thereby developed good relationship with my fellow colleagues at work. I have also
been able to appreciate the connection between my course of study and other disciplines in producing a
successful result.

12. DAILY REPORT


Name of student:
Rahul Gupta

University Roll no.:


1603213068

Page 24 of 29
Industrial Training Report

WEEK 1
DAY & DATE REPORT REMARKS & SIGNATURE
OF INSTRUCTOR
Day1 Introduction to Company: I came
Date:29/July/19 to know what Tech Mahindra is all
about.

Day2 Seminar Which included the


Date:30/July/19 introduction to their ongoing
project.

Day3 Workshop was conducted to make


me understand about backend of
Date:31/July/19 database.

Day4 Workshop was conducted to make


me understand about frontend of
Date:1/August/1 database.
9

Day5 Seminar was conducted about


Date:2/August/1 management of data on the
9 websites.

Feedback from trainer:

Mr. Gaurav Bansal was satisfied with the work that I did and learned in such a short duration and also
suggested some insights as per the outlook of the project.

Name of student:
Rahul Gupta

University Roll no.:


1603213068

WEEK 2

Page 25 of 29
Industrial Training Report

DAY & DATE REPORT REMARKS & SIGNATURE


OF INSTRUCTOR
Day1 Introduction to NodeJS used for
Date:5/August/1 designing and developing the
9 backend of websites.

Day2 I created dummy website under


Date: the supervision of my mentor.
6/August/19

Day3 I created dummy website under


Date: the supervision of my mentor.
7/August/19

Day4 I created dummy website under


Date: the supervision of my mentor.
8/August/19

Day5 I created dummy website under


Date: the supervision of my mentor.
9/August/19

Feedback from trainer:

Mr. Gaurav Bansal was satisfied with the work that I did and learned in such a short duration and also
suggested some insights as per the outlook of the project.

Name of student:
Rahul Gupta

University Roll no.:


1603213068

WEEK 3

Page 26 of 29
Industrial Training Report

DAY & DATE REPORT REMARKS & SIGNATURE


OF INSTRUCTOR
Day1 I worked on mongodb.
Date:12/August/
19

Day2 Seminar conducted about Business


Date:13/August/ Analysis.
19

Day3 Learned to acquire client


Date:14/August/ specification and
19 requirements.Simultaeously.

Day4 Worked on design and development


Date:16/August/ of the website.
19

Day5 Worked on design and development


Date:19/August/ of the website.
19

Feedback from trainer:

Mr. Gaurav Bansal was satisfied with the work that I did and learned in such a short duration and also
suggested some insights as per the outlook of the project.

Name of student:
Rahul Gupta

University Roll no.:


1603213068

WEEK 4

Page 27 of 29
Industrial Training Report

DAY & DATE REPORT REMARKS & SIGNATURE


OF INSTRUCTOR

Day1 Seminar Conducted by on the


Date: backend development of the
20/August/19 website.

Day2 Worked on design and


Date: development of the website.
21/August/19

Day3 Worked on design and


Date: development of the website.
22/August/19

Day4 Worked on design and


Date: development of the website.
23/August/19

Day5 Remove the errors (if any on the


Date: previous websites under the
26/August/19 supervision of our project
coordinator).

Feedback from trainer:

Mr. Gaurav Bansal was satisfied with the work that I did and learned in such a short duration and also
suggested some insights as per the outlook of the project.

Name of student:
Rahul Gupta

University Roll no.:


1603213068

WEEK 5

Page 28 of 29
Industrial Training Report

DAY & DATE REPORT REMARKS & SIGNATURE


OF INSTRUCTOR
Day1 Worked on design and
Date: development of the website.
27/August/19

Day2 Worked on design and


Date: development of the website.
28/August/19

Day3 Worked on design and


Date: development of the website.
29/August/19

Day4 Removed the bugs(if any) under


Date: the supervision of the mentor
30/August/19

Feedback from trainer:

Mr. Gaurav Bansal was satisfied with the work that I did and learned in such a short duration and
also suggested some insights as per the outlook of the project.

Page 29 of 29

You might also like