Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ASHWIN776/GoBus

Bus Ticket Booking System - My college mini-project
https://github.com/ASHWIN776/GoBus

ajax api css3 html5 javascript mysql php xampp

Last synced: about 2 months ago
JSON representation

Bus Ticket Booking System - My college mini-project

Awesome Lists containing this project

README

        

GoBus
---

GoBus is a **bus ticket booking system built using PHP**. This project is aimed to enhance ticket allotment system for buses which are one of the most widely used means of public transport. The details such as buses, bus number, bus routes, booking and customer details will be provided and maintained by using a Database System.

### Requirements
- **Software**
- PHP >= 5.0
- XAMPP

- **Hardware**
- Intel Pentium IV orocessor or higher
- 512 MB RAM or higher
- 20 GB HDD or higher
- Network Connectivity

### Installation
1. Clone this repo into a desired directory.
2. Open XAMPP, start Apache and MySql. Go to the XAMPP shell and migrate to the project directory and start the php server with this command:

```sh
php -S localhost:8000
```
3. Navigate to http://localhost:8000
4. Voila!

### Features

1. User:
- Can book tickets
- Can delete booking
- Get to know the destination state COVID details
- PNR Enquiry

2. Admin:
- Add, Edit and Delete :
- Bus details
- Customer details
- Route details
- Booking details

- Add another admin

### Login to Admin Dashboard
Username - as
Password - as

### Website Screenshots

- #### Index Page
![Index Snap](assets/img/index_snap.png)

- #### Routes Page
- **Destination Covid Details** : The destination state COVID details are showed here.
> **API endpoint used**- `https://api.apify.com/v2/key-value-stores/toDWvRj1JpTXiM8FF/records/LATEST?disableRedirect=true`

![Covid Stats](assets/img/dest_covid_details.png)

- **Route Details** : All routes matching the route Search Form values submitted by the user is shown here.
![Routes Snap](assets/img/routes_snap.png)

- #### Admin Pages
- **Dashboard** : Contains the summary of all the other fields of importance i.e Bookings, Buses, Seats, Routes, Customers and Admins.
![Admin Dashboard Snap](assets/img/admin_dashboard_snap.png)

- **Bookings** : List of all bookings made.
![Bookings Page Snap](assets/img/admin_booking_snap.png)

- **Buses** : List of all buses added.
![Buses Page Snap](assets/img/admin_bus_snap.png)

- **Add new Admin** : Here, an existing admin can add more admins. This ensures that no fake accounts are created.
![Admin Signup Snap](assets/img/admin_signup_snap.png)

- **Customers** : Details about all the customers present in the database is shown here.
![Customers Page Snap](assets/img/admin_customers_snap.png)

- **Routes** : Details about all the routes present in the database is shown here.
![Admin Routes Page snap](assets/img/admin_routes_snap.png)

### To-Do List

- [ ] Host this project
- [ ] Genuine Calculation of Booking Amount.
- [ ] Admin should be able to upload image which can be cropped in the website.
- [ ] Email should be sent to the customer on booking completion.
- [ ] A booked ticket to be sent in the email, which can also be made available through PNR enquiry(Design - 30% done).
- [ ] Displaying the weather in admin pages.(API)
- [ ] Client Side form Validation
- [ ] Code Gallery Page.
- [ ] Contact Form
- [ ] Add Cool CSS Loaders to the Site
- [ ] Add Activity Section in the Dashboard page
- [ ] User can edit booking (name, phone and booked seat)

### Suggestions

1. Show the covid details in a graph format.
2. Customer Authentication ??
3. Edit and Delete should have diff designs.(refer github site)

---
**

Made with ❤️ by Ashwin Anil

**