C

Covid Travels

Railway Reservation System using Java and MySQL


The problem Covid Travels solves

Avishkar in Covid seemed an impossible task with an online semester, ongoing placements and never ending lockdown. Anuj being the leader he is started managing it all, be it scheduling classes or planning events he is all over the place. As Avishkar approaches he is getting more and more desperate to bring in new sponsors for all events. Not so friendly sponsors need to meet him in person. Being really scared of flights, trains are his only hope. Being overwhelmed with responsibility he needs your help to plan his journeys and book his travels

Basic Features: All the following features have been implemented

User:

  1. Should be able to sign up, login and logout.
  2. Can see trains between source and destination.
  3. Can see availability of seats(in different classes like AC,sleeper..)
  4. Can give Berth preference(upper/lower/middle/side upper/side lower) and other passenger details and request to book tickets.
  5. Can cancel their bookings.
  6. Can see cancelled and rerouted trains.
  7. Can see his booking history and upcoming travels.

Admin:

  1. Maintain customer information.
  2. Maintain trains information(source, destination, time, stops etc).
  3. Book seats and send tickets to users.
  4. Maintain current seats in trains.
  5. Add and remove trains.
  6. Add and remove seats/Coaches in trains.
  7. Cancel trains.

Advanced features : The features implemented are:

1.Admin can give discounts to frequent travellers e.g. give a discount to travellers who booked tickets worth X rupees in a given month will receive a discount for the next month.
2.Dynamic Pricing on some Special trains.

  1. Cancel and reroute trains for a certain duration.
    4.Display the probable halting Platform No. of the trains at stations/junctions.
    5.Create tourist packages.
    6.Book meals during a journey.
    7.Special and senior citizen quota for tickets.
    8.Female travellers are allotted seats nearby if they are travelling alone.
    9.Users get notification for offers and train cancellations or reroutes.

Challenges we ran into

Being new to socket programming we faced difficulties at times in understanding the errors that occured. We asked our seniors and used stackoverflow to solve these errors.

Technologies used

Discussion