Bus Tickets Reservation System

Project Outline

This website is a bus reservation system to help users with reserving bus tickets online with just 2 minutes , all you have to do is login to the main website , choose your destination and reserve , that is it , no effort needed .

This website have 2 branches (front and admin dashboard) This website consists of many modules like:

  • Admin Dashboard (admin login, edit profile info, change password).
  • Settings module (to control settings of main front website like contact info, copyright, social links, and SEO settings).
  • Messages module (including compose new message, display received messages, display sent messages, distinguish between read messages or not and control messages settings).
  • Testimonials module (including add new testimonial, display all testimonials and control what of these testimonials to display on the main website ad what to hide).
  • Users module (including user login , register and forget password, add new user from admin dashboard and when add new user from admin it will send that user an email containing random generated password to use to login to his account and modify that password later and finally the ability to display all website users)
  • Admins and super admins module (including add new admin with automatically generated password to login to admin dashboard , determine type of admin (admin or super admin) , list all admins and ability to delete them)
  • Cities module (include add new city and list all cities).
  • Branches module (including add new branch with all branch details like address and contact info and list all branches with ability to edit or delete them) .
  • Bus Types module (including add new type with all details like model type , seat numbers, max speed , model year, luxury facilities like Wi-Fi, TV, air conditioner, food, drink and DVD , also list of all types available with the ability to edit or delete them) .
  • Buses module (including add new bus with code and type selected and choose availability condition which is active or not to go on trips and list all buses company has with the ability to edit or delete any of them ) .
  • Coupons module (including add new coupon with all details required like coupon code and discount percentage and list all coupons with the ability to edit or delete them).
  • Trips module (including add new trip with all details required like trip code, trip bus, departure time, departure branch, arrival time, arrival branch, price, repetition dates and list all trips available with the ability to edit or delete them individually) .
  • Reservations module (including add new reservation from admin dashboard or from the main front website with all details required like date, user, trip, original price, coupon code, final price and reserved seat number, list all reservations available with the ability to edit upcoming reservations only or delete them and reservations print which enable admins to print all reservations on specific trip on specific date only).
  • Front user reservations (including list of all reservation made and the ability to print receipt for every ticket reserved).
  • In admin dashboard you can easily export all of data lists to pdf or excel file .

Used technologies for this website

This website depends on many technologies like :

  • Php
  • Laravel Framework
  • mySQL
  • Javascript
  • Jquery
  • Ajax
  • Bootstrap
  • Css
  • Html
  • Git
  • Github

What is special in this project

There are many new things done for this project like :

  • Admin privileges (admin & super admin) and prevent url access with middleware.
  • Using min in input date to disable previous days from selecting.
  • Using more JavaScript with inputs.
  • Send random password when creating new user from admin dashboard.
  • Edit upcoming reservations only based on today’s date.
  • Draw bus seats with JavaScript.
  • Disable search if date is previous from today.
  • Make reservation based on choosing seat numbers based on number of passengers.