Skip to content

This project is a console-based application designed to facilitate bus ticket booking operations. Developed in Core Java, this system provides an intuitive interface for users to search for available bus routes, select desired seats, and confirm bookings seamlessly.

Notifications You must be signed in to change notification settings

RADHIKESHS/Bus-Booking-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bus Ticket Reservation System

The Bus Ticket Reservation System is an application designed to cater to the needs of passengers who are traveling from one point to another. The system has two main users, the Administrator and the Passenger. The Administrator is responsible for adding, updating, and deleting buses, viewing all bookings, viewing bookings for a date range, viewing bookings by bus name, and viewing bookings by the username of the passenger. On the other hand, the Passenger can see a list of all buses, book tickets, cancel their tickets, sign-up, sign-in, change personal details and passwords, see their ticket booking history, and delete their account.

1. Users of this Application Administrator Passenger

Admin- Admin functionality --

  1. Add a bus
  2. Update a bus
  3. Delete a bus
  4. View all bookings
  5. View bookings by date range
  6. View bookings by bus name
  7. View bookings by user name
  8. Exit

User- User fuctionality --

  1. View all buses
  2. Sign up
  3. Login
  4. Update personal details
  5. Change password
  6. View booking history
  7. Cancel ticket
  8. Book ticket
  9. Logout
  10. view passenger
  11. Exit

Administrator-- The Administrator has the following roles in the Bus Ticket Reservation System:

Login-- The Administrator can log in to the system using a fixed username and password. The username and password are "admin" and "admin", respectively.

Add Bus-- The Administrator can add a new bus to the system. The bus details include the bus name, source, destination, bus type, departure time, arrival time, and total seats.

Update Bus Details-- The Administrator can update the bus details such as the bus name, bus type, and total seats.

Delete Bus Details-- The Administrator can delete the bus details from the system.

View All Bookings-- The Administrator can view all bookings made by passengers.

View Bookings for a Date Range-- The Administrator can view bookings for a particular date range.

View Bookings by Bus Name-- The Administrator can view bookings by bus name.

View Bookings by Passenger Username-- The Administrator can view bookings by the username of the passenger.

Passenger-- The Passenger has the following roles in the Bus Ticket Reservation System:

See List of Buses-- The Passenger can see a list of all the buses available in the system.

Book Tickets-- The Passenger can book tickets by selecting the bus number. The available seats for the particular day are calculated based on the total seats and the tickets booked for that day.

Cancel Tickets-- The Passenger can cancel their ticket before the departure of the bus. The ticket details will be deleted from the system.

Sign-up-- The Passenger can sign-up by providing their first name, last name, address, mobile number, username, and password.

Sign-in-- The Passenger can sign-in using their username and password. They can also change their personal details and passwords and sign out. The username is unique and cannot be changed.

See Ticket Booking History-- The Passenger can see their ticket booking history.

Delete Account-- The Passenger can delete their account from the system.

Cancel Ticket Policy-- The system has an enhanced cancel ticket policy. If a user cancels a ticket 24 hours before departure, they get a full refund. If it is 12 hours before departure, they get a 50% refund, and if 6 hours before departure, they get a 20% refund. Otherwise, no refund is given.

Conclusion-- The Bus Ticket Reservation System is an efficient application that caters to the needs of passengers who are traveling from one point to another. It has a user-friendly interface and provides additional features to enhance the user experience.

About

This project is a console-based application designed to facilitate bus ticket booking operations. Developed in Core Java, this system provides an intuitive interface for users to search for available bus routes, select desired seats, and confirm bookings seamlessly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages