This repository contains a library management system built using Java. The application demonstrates object-oriented programming (OOP) concepts and includes features for managing users and books with different levels of access.
- User management with role-based access (e.g., Admin, SuperAdmin, Member).
- Book management: add, view, update, and delete books.
- Manage library administration.
- Simple and extensible structure using OOP principles.
- Java Development Kit (JDK) 19 or later.
- An IDE or text editor for editing and running Java code (e.g., IntelliJ IDEA, Eclipse, or NetBeans).
-
Clone the Repository
git clone https://github.com/dzikrimaulana87/OOP-Library-with-level-acces.git cd OOP-Library-with-level-acces
-
Set Up the Database
- Import the
masih_belajar.sql
file into your MySQL database:mysql -u your_username -p your_database_name < masih_belajar.sql
- Import the
-
Open the Project
- Import the project into your Java IDE of choice.
-
Configure the Database
- Update the database connection settings in
src/handler_class/Koneksi.java
- Update the database connection settings in
-
Run the Application
- Compile and run the
Main.java
file to start the application.
- Compile and run the
- Log in using different user roles to explore role-based functionalities.
- Admins can manage users and books.
- Librarians can manage books and assist members.
- Members can view and borrow books.
Dzikri Maulana
Rizky Fahrureza
Malik Syafi'i
Luthfi Sifa Khaerunnisa
For any questions or issues, please open an issue on the repository or contact the maintainer.