About the Project

a Bus booking system has an CRUD System so the the admin can Manage

  • stops
  • Routes/lines
  • Buses
  • Seats

relational database

  • one-to-many between [Route,Bus] , [Bus,Seat]
  • many-to-many between [Routes,Stops]

Middleware

  • is_admin middleware for admin URLs -islogged Middleware for user to check first if the user has logged in before booking the seat

user

  • user can see the available trips for his start and end point a
  • can select his prefered bus
  • then he can book the avilable seat