Railway Management System
A project submitted to
   CHHATTISGARH SWAMI VIVEKANAND
     TECHNICAL UNIVERSITY BHILAI
        CHHATTISGARH (INDIA)
           for the partial fulfillment of degree
MASTER OF COMPUTER APPLICATIONS (MCA)
                            By
              AAKASH DEWANGAN
              Roll No. : 500102119002
            Enrollment No.: BH0652
            Under the Guidance of
           MRS VINITA A GUPTA
   DEPARTMENT OF COMPUTER APPLICATIONS,
    BHILAI INSTITUTE OF TECHNOLOGY DURG,
                CHHATTISGARH
                    (INDIA)
               Session:2018-2021
                         CERTIFICATE OF SUPERVISOR(S) /GUIDE
This is to certify that the work   inco rporated   in the project Railway Management System is a record of six month project
work assignedby our Company , successfully carried out by AAKASH DEWANGAN bearing Enrollment No
BH0652 under my guidance and supervision for the award of Degree of Master of Computer Applications
(MCA) of Bhilai Institute of Technology, Durg, C.G., affiliated to Chhattisgarh Swami Vivekanand Technical
University (CSVTU), Bhilai, C.G., India. To the best of my knowledge and belief the report embodies the work of
the candidate him/herself and has duly been successfully completed
        Name : Mr. Aditya Jhangle                                                         Signature of the Supervisor/Guide
        Designation : Senior Manager
        Date :
                DELCLARATION BY THE CANDIDATE
I,,AAKASH DEWANGAN Student of 6 th Semester MCA, Bhilai Institute of Technology, Durg,
C.G., India, bearing Enrolment Number BH0652 hereby declare that the project entitled has been
carried out by me under the Guidance/Supervision of External Guide Mrs. Vinita A Gupta , Professor
submitted in partial fulfillment of the requirements for the award of the Degree of Master of Computer
Applications (MCA) by the Chhattisgarh Swami Vivekanand Technical University during the academic
year 2021. This report has not been submitted to any other Organization/University for any award of
Degree/Diploma
Date :                                                                   (Signature of Candidate)
Place :
                       CERTIFICATE OF FORWARDING
This is to Certify that AAKASH DEWANGAN , a bonafide Student of Master of Computer
Applications (M.C.A) at Bhilai Institute of Technology, Durg, C.G., India , has carried out his project
work as mentioned in this project entitled “RAILWAY MANAGEMENT SYSTEM ” at “MAXGEN
TECHNOLOGIES” ,during his sixth semester of studies in M.C.A as a part of a curriculum for
obtaining the degree of M.C.A from Chhattisgarh Swami Vivekanand Technical University (CSVTU),
Bhilai, C.G., India to which the institute is affiliated. This Certificate Issued by the undersigned does
not cover any responsibility regarding the statements made and work carried out by the concerned
student. The currentdissertation is hereby being forwarded for evaluation for the purpose for which it
has been submitted
Signature of Project Coordinator                                    Signature of Head of Department
Name :                                                              Name :
Designation :                                                       Designation :
Institution :                                                       Institution :
Date :                                                              Date :
                         CERTIFICATE OF APPROVAL
This is to Certify that the project the entitled “RAILWAY MANAGEMENT SYSTEM” , carried out
by “ AAKASH DEWANGAN” a student of sixth semester, M.C.A. at Bhilai Institute of Technology,
Durg, C.G.,India, is hereby approved after proper examination and evaluation as a creditable work for
the partial fulfillment Of the requirement for awarding the degree of Master of Computer Applications
(M.C.A) fromChhattisgarh Swami Vivekanand Technical University (CSVTU), Bhilai C.G. India
(Internal Examiner)                                                     (External Examiner)
Name :                                                                  Name :
Designation :                                                           Designation :
College Name :                                                          College Name :
Date :                                                                  Date :
                                 ACKNOWLEGEMENT
I have great pleasure in the submission of this project report entitled Project Title for Name of the
Company in patial fulfillment the degree of the degree of Master of Computer Applications. While
Submitting this Project report, I take this opportunity to thank those directly or indirectly related to
project work. I would like to thank my guide Mrs. Vinita A Gupta in Company who has provided the
opportunity and organizing project for me. Without his active co-operation and guidance, it would have
become very difficult to complete task in time.
I would like to express sincere thanks to Dr. M K Gupta , Principal , Dr. (Mrs.)Ani Thomas , Head of
Department , (Computer Applications).
While Submission of the project, I also like to thanks to Prof. Shweta Kharya Project Coordinator and
the all Professors of Bhilai Institute of Technology, Durg, C.G., India, for their continuous help and
guidance throughout the course of MCA. Acknowledgement is due to our parents, family members,
friends and all those persons who have helped us directly or indirectly in the successful completion of
the project work.
                                                                     AAKASH DEWANGAN
                                       Table of Contents
Chapter.   Content                                                            Page No.
     a.    Title, Abstract and Type of Project (Software).
     B     List of Figures.
     c.    List of Abbreviations/Symbols.
1.         INTRODUCTION.
           1.1.   Project description (Initial description of the problem)
           1.2.   Company Profile.
2.         SYSTEM STUDY
           2.1.   Existing system.
           2.2.   Proposed system.
           2.3.   Feasibility study.
3.         SOFTWARE REQUREMENT SPECIFICATION (SRS)
           3.1.   Introduction
                          3.1.1. Purposes of the SRS.
           3.2.   Overall Description
                          3.2.1. Product Perspective
                          3.2..2. Product Functions
                          3.2..3. User Characteristics
                          3.2.4. Constraints, Assumptions and Dependencies.
           3.3.   Non Functional Requirements
                     External Interface Requirement.
                                  User Interface.
                                  Hardware Interface.
                                  Software Interface.
                                  Communication Interface.
           3.4.   Functional Requirements.
                          3.4.1. Subsystem 1.
                                    Functional Requirement 1.1
                                    Functional Requirement 1.2
                                    …
                                    Functional Requirement 1.n
                                           ……
                          3.4.n Subsystem m
                                    Functional Requirement n.1
                                    Functional Requirement n.2
                                            ………
           3.5.   Performance Requirements
                           3.5.1 Static Performance.
               3.5.2. Dynamic Performance.
3.6.   Design Constraints
         Standards Compliance
                      Hardware Limitations
                      Reliability and Fault Tolerance.
                      Security.
  1.   INTRODUTION
              i. Project Description
 This Railway Reservation System Project in Django created based on Django,
 html, python, CSS and Bootstrap. A Railway Reservation System created using
 Python Django Framework on the backend and HTML, CSS, and JavaScript on the
 frontend. It is a Simple Railway Reservation System that allows User to
 Search Trains, Book Tickets, Cancel tickets, Check Train Schedule and Check
 PNR.
  It also has Admin side which allows extra features like Add Routes,
 Stations, Trains. A Railway Reservation System allows passengers to book
 and cancel tickets from any of the terminals. These tickets can be
 purchased or cancelled for trips that start in one part of Manila and
 travel times of up to 72 hours and distances of up to thousands of
 kilometers.
Company Profile
At Maxgen Technology, we develop innovative and creative products and services that provide total
communicationand information solutions. Among a plethora of services, web design and development,
ERPs, CRMs, e-commerce solutions are few that we offer. Satisfied clients around the globe bear
testimony to the quality of our work.
         b. SYSTEM STUDY
                  i. Existing System
The existing system is very slow and hard to handle the customers . customers face many problem while
tracking the trains and it is hard to cancel the ticket.
                  ii. Proposed System
 The proposed system should have the following features. The transaction should take place in a
 secured format between various clients in the following network. It provides flexibility to the user
 to transfer the data through the network very easily by compressing the large amount of file. It
 should also identify the user and provide communication according to the prescribed level of
 security with transfer of the file requested and run the required process at the server if necessary.
 The purpose of this project is to provide any consumer to book or track their trains through this
 system. There are some disadvantages of the existing Railway systems. These disadvantages are
 overcome to problems with Railway management systems. And it can be made handy and very
 simple to use for every person. Previously people could not get help or locate their current address
 to get the service center facilities in the case of their car break- down or any other emergencies.
 Thus ASCM is proposed to assist people and fulfil requirement easily.
                            1. Security of data.
                            2. Ensure data accuracy’s.
                              3.   Proper control .
                              4.   Minimize time needed for the various processing.
                              5.   Greater efficiency.
                              6.   Better service.
                              7.   User friendliness and interactive.
                              8.   Faster
                  iii. Feasibility Study
Feasibility Analysis is the process of determination of whether or not a project is worth doing.
Feasibility studies are undertaken within tight time constraints and normally culminate in a written
and oral feasibility report. It helped in taking decisions such as which software to use etc.
Technical Feasibility
Technical feasibility determines whether the work for the project can be done with the existing
equipment, software technology and available personnel. Technical feasibility of proposed project
refers to the software and hardware requirements.
Economical Feasibility
Economical feasibility determines whether there are sufficient benefits in creating to make the cost
acceptable, or is the cost of the system too high. It is assumed that the user already possesses tablet or
mobile phones supporting android OS.
Operational feasibility
As our system provide various function, it is important to measure the feasibility of each function for
measuring overall feasibility of our system. Mapping, navigating, notifications, etc. are easily
operated using proposed project.
            c. SOFTWARE REQUIREMENT SPECIFICATION (SRS)
                     i. Introduction
Purposes of the SRS
The Software Requirement Specification provides a description of all the function and
constraints of the Railway Management System which is basically developed for booking and tracking
of train tickets. It will provide a detailed overview of the software products, its parameter and goals.
This document describes the project’s target audience and its user interface, hardware and software requirement.
   Product Perspective
  This is the online website which is developed on the basis of providing efficient services of a Railway
  Management System. This website brings an outstanding way of bringing user on an online platform to
  book tickets, track their trains and routes etc.
        Product Functions
          Provide a simple interface and platform to ease the process of booking,tracking of trains etc.
         Includes smooth functionality and efficiency that adds to book ticket easier and locate
          their train
        User Characteristics
         The user should be familiar with the internet.
         The user should be familiar with the online terminology like booking system, login ,payment
          gateway.
Constraints, Assumption and Dependencies
         There is no maintainability of backup so availability will get affected.
         No multilingual support.
         Limited number of search queries for the user. Server incapable of handling high traffic burst.
                        ii.   Non Functional Requirements
     It describes aspects of the system that are concerned with how the system provides the functional requirements
     they are:
     External Interface Requirement
             Front End - HTML, CSS, JS
             Back End – SQLITE
             FRAMEWORK - DJANGO
     User Interface
     The new system shall provide a very user friendly interface to the user and administrator, so the user can easily
     navigate through pages and administrator can easily manage data and revoke user permission.
     Hardware Interfaces
     This software required minimum 1GB of RAM, a display monitor, mouse, keyboard and minimum of 200 MB
     of memory space.
     Software Interfaces
     User will be able to access the portal using web browser on the system having Windows operating
     System. On Server end, in addition to Windows Operating system, software will be required for
     internet server, Database, application frameworks, email server etc
     Communications Interfaces
     To access the portal internet connectivity will be needed at both server side as well as client side.
                        iii. Functional Requirement
     Requirement analysis a software engineering technique that is composed of various tasks that determine the
     needs or conditions that are to be met for a new or altered product, taking into consideration the possible
     conflicting requirements of the various users.
     Functional requirements are those requirements that are used to illustrate the internal working nature of the
     system, description of the system, and explanation of each subsystem. It consist of what task the system
     should perform, the processes involved, which data should the system holds and interface with the user, The
     functional requirements are :
    Login – By default the admin need to login first to enable to access the system.
    Manage User – For the user, the admin can add, edit, delete user information.
    Payment Management – For the payment, the admin can view the customer payments
   information.
    Manage Reservations – For the reservations, the admin can manage and view reservations of
customers.
    Train Management – For the train, the admin can add, edit, and delete train information.
    Manage Station – For the station, the admin can add, edit, and delete station information.
        Routes Management – For the routes, the admin can add, edit, and delete routes
information.
      Registration – For the registration, the customer needs to register first to create an
account.
        Login – For the login, after creating an account, the customer needs to login to access
the whole system.
        Search Trains – For the search, the customer can search all the available trains.
        Reservations – For the reservations, the customer can reserve available trains.
        Cancel Reservations – For the cancel, the customer can cancel his/her reservation.
                          iv. Performance Requirements
     3.5.1. Static Performance
     The system consists of two main users, admin. The system can use multiple ways to
     display the details of website.
     3.5.2 Dynamic Performance
     1 . When the Admin add category of services the category will show on service pages in
         website.
     2 . When the Admin add services in the particular category then it will be shown on service
         Pages in website.
                          v.   Design Constraints
     Standard Compliance
     System Administrators must have access to comprehensive documentation. The system shall be built using a
     standard webpage development tool that confirms to Microsoft’s GUI Standard like HTML, CSS etc.
     Hardware Limitations
     Here there is need of at least 1gb of RAM, minimum 200mb memory space.
     Recovery:
         Not Applicable
     Security
     Confidentiality: Each user can login through its own username and password. Database
Security: Based on the service provider.
Cryptography: No
Reliability and Fault Tolerance
Reliable for managing the Company Website,.
B. Detail Design
1. SYSTEM DESIGN
                   0bject/classes model
      Data dictionary containing description of class attributes (data members and
              methods)
Table: ADMIN TABLE
 Field name                                                 Data type
 Id                                          bigInt (20)
 Username                                    Varchar (20)
 Password                                    Varchar (100)
 Confirm Password                            Varchar(100)
 Email                                       Varchar (30)
Table: REGISTER TABLE
 Field name                                                 Data type
 Username                                    Varchar(20)
 Password                                    Varchar (20)
 Email                                       Varchar (100)
 Phone no.                                   Varchar(100)
Table: Booking Form Table
 Field name                                 Data type
 Id                          bigInt (20)
 Name                        Varchar (20)
 Email                       Varchar (100)
 Destination                 Varchar(100)
 Phone                       Varchar (30)
      Table: Contact Table
 Field name                                 Data type
 Id                          bigInt (20)
 c_name                      Varchar (20)
 c_email                     Varchar (100)
 C ticket no.                Varchar(100)
 c_message                   Varchar (30)
     Table: Service Categories Table
Field name                                            Data type
Id                                     bigInt (20)
categoryName                           Varchar (20)
categorySlug                           Varchar (100)
catgeoryImage                          Varchar(100)
catgeoryDesciption                     Varchar (30)
     Table: Services Table
Field name                                            Data type
Id                                     bigInt (20)
serviceName                            Varchar (20)
serviceSlug                            Varchar (100)
serviceDescription                     Varchar(100)
serviceCategoryId                      Varchar (30)
 Object diagram
            Registration          User Detail
User                       DATA                 Admin
             Successful           Response
                         Dynamic model
                              Scenario (Project Interaction)
Admin                    Login                Add user       Route       Check PNR   Cancel Ticket
    Login Verification
        Return Status
                         Add Category
                        Return Status
                        Add Cuser
                        Return Status
          information About Add Category
                     Return Status
                            Add Subcategory
                            Return Status
                  View all information of ticketReturn
                             Status
                             Search routr
                              Check pnr
                             edit,delete.
                                 search
                                                         cancel
                                                         Return Status
                                                            Logout
       1.2.3   State Diagram (SD) for each class
                                    Admin Login
Home            Category        Services              Jobs     Contact   Career
                    Listing       Listing            Listing
                                            LOGOUT
             Functional Model
                 Use case diagram
   (A.) ADMIN Side -:
                                    Add user    L
                                    Login
                                    phone no.
ADMIN
                                     Email id
                                       Passwor
                                       dd
                                            login
                                            Register
                                            Search
   (B.)User Side -:
                       Route
                      Register
                       CHK SC
USER
                        PNR
                      CANCEL
1.1.1      DFD as needed to show functional dependencies
                                   0 – Level DFD
                  Registration                     Admin Panel
        User                                                     Admin
                                     HOME
                   Successful                       Response
               1– Level DFD
                Login
User   Login     with                    Admin
                Mobile        Response
                & pass
                               View
                Route
                                          search
                                 View
                 Chec                     View Info
                 k sc
                                  View
                   pnr
                                             Pnr no.
                3.3.3 E-R Diagram
 Name                 Email
                                                                                     Email                  Mobile
                                                                    Name
        login                                    USER
                                                                                                 registe
                                                                                                 r
                     passwor
login                d
                                          CLIENT SIDE
                                                                       password                            register
                                          ADMIN SIDE
                                                    image
                                                                            description
                                          slur
                                   name
                                                                                          Catgeory
                         username                    services
                                                                             Career listing                    slur
                                                                                                   name
                                                                                                    category
  ADMIN                        Login                    Dashboard
                                                                                  image
                                                                                                           description
                          password                Contact us listing                      tick
                                                                                          etet
                                                                                                                 salary
                                                            title
                                                        short description                                       image
                                                                                  brief description
                     SECOND PROGRESS REPORT
                                    5. IMPLEMENTATIONS
   Operating System used (Including explanation)
      Here we are using Microsoft windows operating system to implement our project on it.
We are using Microsoft windows operating system because:
             It has graphical user interface.
             It is available to most of the computers in the world.
             It is easy to understand and use.
             It has many user support drivers.
             It supports lots of internet browsers application.
             Offers an environment in which a user may execute programs/applications.
   Coding Language used (Including explanation)
      Here I am using Django Frameworks as our programming language and using HTML &
CSS for the designing purpose. I am using Django Components to make the web App. I am using
Django framework because:
             Rich framework and easy to maintain. 
             Light weight and fast development cycle. 
             Allows us to use separate presentation logic (html code) from code (business logic).
             Minimal coding is required to build large applications.
             Easy to adopt.
             Cross platform app development, Built on DJANGO
             Django apps are written using HTML, JavaScript, and CSS. Django can be
              considered as a Django framework that handles UI interactions of applications
              withsupport for native mobile components and beautiful design. Django focuses on
              Backend interactions and look and feel of an app.
   SQLite database used
       Here we are using MySql because
             It can run over Multiple server
             It is Schema-less database.
             Any field in the document can be indexed.
             It supports a rich object Model.
             It has a Dynamic Schema. 
             It is not affected by SQL injection.
     Database connectivity procedure
                     SCREENSHOTS
   1.   Login Page
2. REGISTER
3. PNR NO.
4. CANCEL PAGE
                               6. SOFTWARE TESTING (Test cases)
 Software testing tools used (if any)
                      Not applicable
          Black-box testing
                         Unit (program) testing
       In unit testing we test individual pages and as per requirement & given input, it gives desire result.
          White-box testing
                           Unit (program) testing
Unit testing is performed on each unit and block of code as it is developed. Unit testing is essentially done
    by programmer. Unit testing helps to identify majority of bugs early in the development life cycle
                        7. Software Costing by COCOMO Model
                                                 Not applicable
                         8. Limitations and Future Enhancement
                  The limitations of Railway Management System is are that this system is implemented
                 only for few Cities and the all information of every city is not given . User can go to
                 official website for whole information’s of city. In future, we also add some features to
                 this application to make it more reliable. They are as follow:
                     Modify the project with better approach with more graphics.
                     More complex searching can be implemented in future.
                     As the technology emerges, it is possible to upgrade the system that can be
                      adaptable to desired environment.
                     News and location facilities are available in futures
         2. Conclusions
         This Application has been developed successfully and the performance of the Application has been
         found satisfactory. Admin should have Mobile no. and Password to connect with Website. This
         system will provide proper information of company the ease of handing the all the related things that
         extend the network.
         3. Bibliography / References
                 1. https://www.w3schools.com/
                 2. https://www.geeksforgeeks.com
Comments of Guide / Supervisor: (Satisfactory / Not Satisfactory): …………………
Name and Signature of Candidate        Signature of Guide / Supervisor
with Seal Date:
Place:
                              -: Departmental use
                                     Only:-
Comments of Coordinator
                                     Signature of project coordinator
                                     Name: Mrs. Vinita A Gupta
                                     Department of Computer Applications
                                     Bhilai Institute of Technology, Durg