This project is a Driving License Application System built using Java and JavaFX. It allows users to apply for driving licenses, and administrators to manage applications and user data.
The Driving License Application System is designed to streamline the process of applying for and managing driving licenses. It includes functionalities for users to submit applications and for administrators to review and manage these applications.
- User registration and login
- Admin login and management interface
- Application submission and status tracking
- Personal information management
- License data display
- Java Development Kit (JDK) 17 or higher
- MySQL database ( 8.0.39 )
-
Clone the repository:
git clone https://github.com/liwa-dev/LicenseManagementSystem.git cd LicenseManagementSystem
-
Set up the MySQL database:
- Create a database named
licenses
. - Import the provided SQL script to create the necessary tables.
- Create a database named
-
Update the database connection details in
src/DatabaseConnection.java
:private static final String URL = "jdbc:mysql://localhost:3314/licenses"; private static final String USER = "root"; private static final String PASSWORD = "root";
-
Build and run the project using your preferred IDE or command line.
- Login: Users can log in using their credentials.
- Admin Interface: Admins can log in to access the management interface.
- Application Submission: Users can submit new applications for driving licenses.
- Personal Information: Users can update their personal information.
- Review Applications: Admins can review and manage user applications.
- Manage Users: Admins can view and update user information.
├── src/
│ ├── AdminController.java
│ ├── ControllerClass.java
│ ├── DatabaseConnection.java
│ ├── LicenseController.java
│ ├── NewApplicationController.java
│ ├── NewLicenseController.java
│ ├── interface.fxml
│ ├── license.fxml
│ ├── new_application.fxml
│ ├── new_license.fxml
│ ├── admin_interface.fxml
│ └── imgs/
│ ├── user.png
│ ├── veh.png
│ └── reload.png
- AdminController.java: Handles admin-specific functionalities.
- ControllerClass.java: Manages the main application logic and user interactions.
- DatabaseConnection.java: Manages database connections and queries.
- LicenseController.java: Displays license data and handles user interactions related to licenses.
- NewApplicationController.java: Manages the submission of new applications.
- interface.fxml: Main interface layout.
- license.fxml: Layout for displaying license data.
- new_application.fxml: Layout for submitting new applications.
- new_license.fxml: Layout for managing new licenses.
This project is licensed under the MIT License. See the LICENSE file for details.