GoFlow is a transport management system that allows users to book and manage their trips. The system is designed to be used by both customers and drivers. Customers can book trips, view their trip history, and cancel trips. Drivers can view their trip history, accept or reject trip requests, and cancel trips. The system also allows admins to view all trips, view all users, and view all drivers.
Project Structure
The project is divided into 3 main packages: model, exception, service, util, view, and controller. The model package contains all the classes that represent the data model of the system. The view package contains all the classes that represent the user interface of the system. The controller package contains all the servlets of the system. The service package contains all the classes that handle the business logic of the system. The util package contains all the classes that handle the database connection and queries. The exception package contains all the classes that handle the exceptions of the system. Both service and controller packages are divided into 6 sub-packages: admin, auth, driver, ride, rider, and vehicleType. Each sub-package contains all the classes that handle the business logic of the system for each function.
How to run the project
Import goflow.sql file into MySQL database
Change the database connection details in the application.properties file in the util folder
Change the query file path (queryPath) in the application.properties file in the util folder
Setup jdk (version 19)
Setup tomcat server version 10.1 (servlet library: jakarta)
Import libraries from the tomcat lib folder
Import project's lib folder libraries into the project
Run the project on the tomcat server or else run the web archive artifact war file on the tomcat server