- The aim of this project was to develop an application that could manage vehicles, drivers as well as the passengers.
- It supports multiple vehicle (Car, Rickshaw, Bus) features and functionalities.
- Allows passengers to book car/rickshaw/bus ride.
- Google Maps Integration helps in entering Source and Destination.
- Also, route/path between source and destination can be viewed for different vehicles.
- Keeps accurate records for any type of vehicle.
- Keeps track of Driver, Passengers and other employee ledgers.
- Java Swing (NetBeans v12.1)
- JDBC for
PHPMyAdmin (MySQL)
Connectivity - SQL (queries)
- NetBeans
- MySQL
- JavaFX-SDK-16
-
Install Netbeans & import this project.
-
Install JavaFX-SDK-16
-
Add the Libraries.
-
Also add Libraries from
lib
folder after installingJavaFX-SDK-16
. -
Add
--module-path "PATH to lib folder in JavaFX-SDK-16"
--add-modules=javafx.controls,javafx.fxml,javafx.web,javafx.media,javafx.swing
. -
Open the file
/src/Vehico/DbConnection.java
, alter URL depending upon your MySQL Server, Username and Password. -
Database (SQL file) is present in
/Database
folder. -
Admin account username:
1
Admin account password :y
-
For Driver & Passenger, register and proceed.
There are mainly 3 modules in this project.
- Add Vehicle
- View Vehicle Details
- Delete Vehicle
- Ban Driver
- View Rides History
- Vehicle Repair History
- Manage Fuel Price
- Upon signing up, driver selects the kind of vehicle he/she drives and are alloted a vehicle (if vacant).
- Option for turning ride status as online and start picking rides.
- View Previous Rides
- Check for Current Ride and update ride status (AtPickup / Running / Completed).
- On completion of ride, distance is noted and Bill is calculated.
- Passengers need to sign up, and login thereafter.
- Upon logging in, they can Book Car / Rickshaw / Bus Rides.
- From the Google Maps (integrated), they can enter
From
andTo
locations and begin the ride. - Directions are available via Google Maps for various vehicle routes.
- Car & Driver Details can be viewed anytime.
- Passengers Ride History