Project on visitors management
Project on visitors management
“COMPANY VISITOR
MANAGEMENT SYSTEM”
Submitted in partial fulfillment of the requirements for the Mini Project Work
Submitted by
Nishchit S K 2TG22CS065
Praveen I G 2TG22CS072
Sanjana V 2TG22CS088
Shashank S B 2TG22CS091
Certificate
University, Belagavi for V semester Computer Science & Engineering during the
1:
2:
Dedicated To My Beloved Parents, To
the Esteemed Staff and Students of Our
College for Whom, This Seminar Is
Meant For
CVMS
ACKNOWLDEMENT
The sense of contentment and relation that accomplishes the successful of completion
of my task would be incomplete without mentioning the names of the people who helped in
accomplishment of this mini project work (BCS586), whose constant guidance, support and
encouragement resulted in its realization.
I take this opportunity to thank our principal, Dr. M. M. Awati for providing me with
serene and healthy environment within the college, which helped me in concentrating on my
task.
I express my deep sense of gratitude to our Mini project coordinator and H.O.D Dr.
Ramesh M. Badiger for providing me the facilities for completion of mini project and his
invaluable guidance and encouragement.
Lastly I am very much indebted to my parents and friends for their unquestioning
cooperation and help.
Nishchit S K 2TG22CS065
Praveen I G 2TG22CS072
Sanjana V 2TG22CS088
Shashank S B 2TG22CS091
REPORT INDEX
S no. Chapter
1. Introduction (Project Modules description)
Purpose Scope
7. Conclusion
8. References
ABSTRACT
Company Visitor Management System deals with the security provided at company
premises from the unauthenticated or unwanted visitors.
Instead, Company Visitor Management System will assist you the professionalized way
in which you welcome your visitors. This software is a complete Visitor Management
service to improve the efficiency,productivity,security.
The CVMS automates key tasks such as visitor registration, check-in, badge issuance,
and access control. It typically features a user-friendly interface for front desk operations
and integrates with security systems such as surveillance cameras, access cards, and
biometric scanners. Visitors can pre-register through online portals, reducing wait times
and ensuring smooth entry.
The system also provides real-time data and reporting capabilities, enabling organizations
to monitor visitor activity, maintain accurate records, and comply with regulatory
requirements. By minimizing manual processes and enhancing data accuracy, a CVMS
contributes to improved operational efficiency, better visitor experiences, and
strengthened organizational security.
This paper explores the development, features, and benefits of implementing a Company
Visitors Management System, highlighting its role in modernizing traditional visitor
management practices.
INTRODUCTION
Introduction:-
Company Visitor Management system is a web-based technology that will revolutionize the
way your company manages visitors. Visitor Management system is more important to security
guards or security company. This web application provides a way to effectively control record &
track company visitor traffic.In CVMS we use Python language with Django framework and
MySQL database.
This is the project which keeps records of visitors who visited in the
company. CVMS has one module i.e. admin
Purpose:-
Scope:-
REQUIREMENT SPECIFICATION
Hardware Configuration:
Client Side:
RAM 512 MB
Hard disk 10 GB
Server side:
RAM 1 GB
Hard disk 20 GB
Processor 2.0 GHz
Software Requirement:
Client Side:
Server Side:
Technology Python
Framework Django
IDE PyCharm
APACHE:
The Apache HTTP Server Project is an effort to develop and maintain an open- source
HTTP server for modern operating systems including UNIX and Windows. The goal of
this project is to provide a secure, efficient and extensible server that provides HTTP
services in sync with the current HTTP standards.
The Apache HTTP Server ("httpd") was launched in 1995 and it has been the most popular
web server on the Internet since April 1996. It has celebrated its 20th birthday as a project in
February 2015.
Python:
Often, programmers fall in love with Python because of the increased productivity it
provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast.
Debugging Python programs is easy: a bug or bad input will never cause a segmentation
fault. Instead, when the interpreter discovers an error, it raises an exception. When the
program doesn't catch the exception, the interpreter prints a stack trace. A source level
debugger allows inspection of local and global variables, evaluation of arbitrary
expressions, setting breakpoints, stepping through the code a line at a time, and so on.
The debugger is written in Python itself, testifying to Python's introspective power. On
the other hand, often the quickest way to debug a program is to add a few print statements
to the source: the fast edit-test-debug cycle makes this simple approach very effective.
Django:
What is Django?
Django is a Python framework that makes it easier to create web sites using Python.
Django takes care of the difficult stuff so that you can concentrate on building your web
applications.
• Model - The data you want to present, usually data from a database.
• View - A request handler that returns the relevant template and content - based
on the request from the user.
• Template - A text file (like an HTML file) containing the layout of the web
page, with logic on how to display the data.
Model:
The most common way to extract data from a database is SQL. One problem with SQL is
that you have to have a pretty good understanding of the database structure to be able to
work with it.
Django, with ORM, makes it easier to communicate with the database, without having to
write complex SQL statements.
View:
A view is a function or method that takes http requests as arguments, imports the relevant
model(s), and finds out what data to send to the template, and returns the final result.The
views are usually located in a file called views.py.
Template:
A template is a file where you describe how the result should be represented.
Templates are often .html files, with HTML code describing the layout of a web page,
but it can also be in other file formats to present other results, but we will concentrate on
.html files.
Django uses standard HTML to describe the layout, but uses Django tags to add logic:
<h1>My Homepage</h1>
URLs:
Django also provides a way to navigate around the different pages in a website. When a
user requests a URL, Django decides which view it will send it to.
This is done in a file called urls.py.
When you have installed Django and created your first Django web application, and the
browser requests the URL, this is basically what happens:
1. Django receives the URL, checks the urls.py file, and calls the view that
matches the URL.
2. The view, located in views.py, checks for relevant models.
3. The models are imported from the models.py file.
4. The view then sends the data to a specified template in the
template folder.
5. The template contains HTML and Django tags, and with the data it returns
finished HTML content back to the browser.
Django can do a lot more than this, but this is basically what you will learn in this
tutorial, and are the basic steps in a simple web application made with Django.
Django History:
Django was invented by Lawrence Journal-World in 2003, to meet the short deadlines in
the newspaper and at the same time meeting the demands of experienced web
developers.
What is a database?
SQLite is different from other SQL databases because unlike most other SQL databases,
SQLite does not have a separate server process. It reads and writes directly to ordinary
disk files. A complete SQL database with multiple tables, indices, triggers, and views, is
contained in a single disk file.
MYSQL:
Analysis:
In present all visitor work done on the paper. The whole year visitor is stored in the
registers. We can’t generate reports as per our requirements because its take more
time to calculate the visitors report.
➢ Not user friendly: The present system not user friendly because data is not
stored in structure and proper format.
➢ Lots of paper work: Visitors maintain in the register so lots of paper require
storing details.
➢ Time consuming
Design Introduction:
Design is the first step in the development phase for any techniques and principles for
the purpose of defining a device, a process or system in sufficient detail to permit its
physical realization.
Once the software requirements have been analyzed and specified the software design
involves three technical activities - design, coding, implementation and testing that are
required to build and verify the software.
The design activities are of main importance in this phase, because in this activity,
decisions ultimately affecting the success of the software implementation and its ease of
maintenance are made. These decisions have the final bearing upon reliability and
maintainability of the system. Design is the only way to accurately translate the
customer’s requirements into finished software or a system.
Design is the place where quality is fostered in development. Software design is a process
through which requirements are translated into a representation of software. Software
design is conducted in two steps. Preliminary design is concerned with the transformation
of requirements into data
UML Diagrams:
Actor:
A coherent set of roles that users of use cases play when interacting with the use
`cases.
UML stands for Unified Modeling Language. UML is a language for specifying,
visualizing and documenting the system. This is the step while developing any product
after analysis. The goal from this is to produce a model of the entities involved in the
project which later need to be built. The representation of the entities that are to be used
in the product being developed need to be designed.
USECASE DIAGRAMS:
Use case diagrams model behavior within a system and helps the developers understand
of what the user require. The stick man represents what’s called an actor.
Use case diagram can be useful for getting an overall view of the system and clarifying
who can do and more importantly what they can’t do.
Use case diagram consists of use cases and actors and shows the interaction between the
use case and actors.
• The purpose is to show the interactions between the use case and actor.
case diagram is a behavioral diagram that shows a set of use cases and actors and their
relationship. It is an association between the use cases and actors. An actor represents a
real-world object. Primary Actor – Sender, Secondary Actor Receiver.
Use CaseDiagram:
Admin
Login
Dashboard
Manage Visitors
Generate Reports
Update Profile
Change Password
Password Recovery
Class Diagram:
A description of set of objects that share the same attributes operations, relationships,
and semantics
ER Diagram:
The Entity-Relationship (ER) model was originally proposed by Peter in 1976 [Chen76]
as a way to unify the network and relational database views. Simply stated the ER model
is a conceptual data model that views the real world as entities and relationships. A basic
component of the model is the Entity- Relationship diagram which is used to visually
represent data objects. Since Chen wrote his paper the model has been extended and
today it is commonly used for database design for the database designer, the utility of the
ER model is:
• It maps well to the relational model. The constructs used in the ER model can
easily be transformed into relational tables.
• It is simple and easy to understand with a minimum of training. Therefore, the
model can be used by the database designer to communicate the design to the
end user.
• In addition, the model can be used as a design plan by the database developer
to implement a data model in specific database management software.
ER Notation:
All notational styles represent entities as rectangular boxes and relationships as lines
connecting boxes. Each style uses a special set of symbols to represent the
cardinality of a connection. The notation used in this document is from Martin. The
▪ Entities are represented by labeled rectangles. The label is the name of the entity.
▪ Relationships are represented by a solid line connecting two entities. The name
of the relationship is written above the line. Relationship names should be verbs
▪ Attributes, when included, are listed inside the entity rectangle. Attributes which
Mandatory existence is shown by the bar (looks like a 1) next to the entity for an instance
is required. Optional existence is shown by placing a circle next to the entity that is
optional.
A DFD does not show a sequence of steps. A DFD only shows what the different
process in a system is and what data flows between them.
External entities
DATAFLOW
LEVELS OF DFD
The complexity of the system means that it is a responsible to represent the operations of
any system of single data flow diagram. At the top level, an Overview of the different
systems in an organization is shown by the way of context analysis diagram. When
exploded into DFD
A level-1 DFD describes the next level of details within the system, detailing the
data flows between subsystems, which makeup the whole.
All the projects are feasible given unlimited resources and infinite time. It is both
necessary and prudent to evaluate the feasibility of the project at the earliest possible
time. Feasibility and the risk analysis are pertained in many ways. If project risk is great.
cvmsapp_customuser table Structure: This table store the login and personal details of admin
This store admin personal and login details.
cvmsapp_addvisitor table Structure: This store the visitor details and admin remark
table.
auth_group table Structure : This table in Django is part of the Django authentication
permission system and is used to manage the relationship between user groups and
permissions.
django_admin_log table Structure : This table is used to store records of actions taken
by administrators or users through the Django admin interface.
used to store information about each model (database table) in your Django project.
After all phase have been perfectly done, the system will be implemented to the server
and the system can be used.
SYSTEM TESTING
The goal of the system testing process was to determine all faults in our project .The program was
subjected to a set of test inputs and many explanations were made and based on these explanations
it will be decided whether the program behaves as expected or not. Our Project went through two
levels of testing
1. Unit testing
2. Integration testing
UNIT TESTING
Unit testing is commenced when a unit has been created and effectively reviewed .In
order to test a single module we need to provide a complete environment i.e. besides the
section we would require
➢ The procedures belonging to other units that the unit under test calls
➢ Testing admin login form-This form is used for log in of administrator of the
system. In this form we enter the username and password if both are correct
administration page will open otherwise if any of data is wrong it will get
redirected back to the login page and again ask the details.
➢ Report Generation: admin can generate report from the main database.
INTEGRATION TESTING
In the Integration testing we test various combination of the project module by providing
the input.
The primary objective is to test the module interfaces in order to confirm that no errors
are occurring when one module invokes the other module.
EVALUATION
Login Page:
Dashboard:
Admin Profile:
Change Password:
Manage Visitor:
Search Data:
CONCLUSION:
This Application provides a computerized version of Company Visitor Management
System which will benefit the company.
It makes entire process online and can generate reports. It has a facility of staff’s login
where staff can fill the visitor details and generate report.
The Application was designed in such a way that future changes can be
done easily. The following conclusions can be deduced from the development of the project.
➢ System security, data security and reliability are the striking features.
➢ https://www.w3schools.com/python/default.asp
➢ https://www.w3schools.com/django/index.php
➢ https://www.python.org/
For MySQL:
➢ https://www.mysql.com/
➢ http://www.mysqltutorial.org
For XAMPP
➢ https://www.apachefriends.org/download.html