Skip to content

The Online Train Ticket System is a web-based application designed to facilitate the purchase of train tickets online. It allows users to view train schedules, check seat availability, book tickets, and manage their bookings conveniently from a web browser.

Notifications You must be signed in to change notification settings

diaskalana/Train-Ticket-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Train Ticket System

This project is an implementation of an Online Train Ticket System using Java, JSP, and Servlets. It was developed as part of the 2nd-year 1st-semester coursework for the Object-Oriented Programming (OOP) module at Sri Lanka Institute of Information Technology (SLIIT).

localhost-8090-Train_Ticket_System-Dashboard-jsp

Overview

The Online Train Ticket System is a web-based application designed to facilitate the purchase of train tickets online. It allows users to view train schedules, check seat availability, book tickets, and manage their bookings conveniently from a web browser.

Features

  • User Authentication: Secure login and registration system for users.
  • Train Schedule Display: Display of available train schedules and routes.
  • Seat Availability: Real-time seat availability for different trains and classes.
  • Booking Management: Allows users to book and manage their train ticket bookings.
  • Admin Panel: Admin functionalities for managing trains, schedules, and user bookings.

localhost-8090-Train_Ticket_System-Destinations-jsp-dst_train-1-station_from-1-search-1 localhost-8090-Train_Ticket_System-StationList-jsp localhost-8090-Train_Ticket_System-TicketDisplay-jsp (1) localhost-8090-Train_Ticket_System-TicketDisplay-jsp localhost-8090-Train_Ticket_System-TrainList-jsp

Technologies Used

  • Java: Core programming language used for backend development.
  • JSP (JavaServer Pages): Used for dynamic web page creation.
  • Servlets: Handles requests from the web server and generates responses.
  • HTML/CSS: Frontend design and structure.
  • MySQL: Database management system used for storing user and ticket information.

How to Run

To run this project locally:

  1. Ensure you have Java Development Kit (JDK), Apache Tomcat, and MySQL installed.
  2. Clone this repository to your local machine.
  3. Set up the MySQL database using the provided SQL schema.
  4. Configure the database connection in the project files.
  5. Deploy the project on an Apache Tomcat server.

Contributors

  • D.D.K.S.Dias (IT21220760) - Project Lead
  • De Silva K.A. (IT21212536)
  • Prasangi W.K.K.I. (IT21215674)
  • Yapa Y.A.I.D. (IT21214134)

Feel free to contribute to this project by forking the repository and submitting pull requests for enhancements or bug fixes.

About

The Online Train Ticket System is a web-based application designed to facilitate the purchase of train tickets online. It allows users to view train schedules, check seat availability, book tickets, and manage their bookings conveniently from a web browser.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages