Skip to content

Latest commit

 

History

History
96 lines (76 loc) · 2.32 KB

README.md

File metadata and controls

96 lines (76 loc) · 2.32 KB

Transport Management System

A transport management system that takes care of booking and payment of tickets, auto assignment of seat number and more.

License

  • Admin Dashboard: Admin Dashboard

  • Passenger Dashboard: Screenshot

Table of Content

Framework

This project was built with Laravel 8.68.1

Features

The current features supported include:

  • User (Passenger and Admin)
  • Booking of bus seats
  • Cargo booking
  • Driver
  • Vehicle
  • Ticket number
  • Barcode
  • Payment System - Paystack

Planned Features

  • Automatic deleting of tickets unpaid after 1 month (with cronjobs)

Installation

Clone the repo

git clone https://github.com/sixtusagbo/transport_management_system

Duplicate and modify .env.example

cp .env.example .env
# Modify it

Put your PAYSTACK_SECRET_KEY and PAYSTACK_PUBLIC_KEY in env for payment to work

Generate app key

php artisan key:generate

Install composer dependencies

composer install

Install npm packages

npm install

Compile with mix

npm run dev

Run the database migrations

php artisan migrate

OR [Optional] Start off with dummy data from faker

php artisan migrate --seed

Create symlink to storage

php artisan storage:link

Run the app

php arisan serve

Contributing

  • Fork the repo
  • Create a branch for your new feature ( git checkout -b my-new-feature )
  • Commit your changes (git commit -am 'Added some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request