This is a Java Swing-based library management system that utilizes MySQL for the database management.
This library management system provides a user-friendly interface for librarians to manage their library resources efficiently. It allows librarians to perform tasks such as adding, updating, and deleting books, managing borrower information, and handling book transactions.
- Book Management: Add, update, and delete books from the library database.
- Borrower Management: Manage borrower information including adding new borrowers, updating their details, and removing them from the system.
- Transaction Management: Handle book transactions including borrowing and returning books.
- Search Functionality: Search for books and borrowers based on various criteria such as title, author, ISBN, borrower ID, etc.
- User-friendly Interface: The system is designed with a simple and intuitive interface using Java Swing for ease of use.
- Java Development Kit (JDK)
- MySQL database server
- MySQL Connector/J (JDBC driver for MySQL)
-
Clone the repository:
git clone https://github.com/Makechi02/library-management-system.git
-
Set up the MySQL database:
- Create a new database named
library_management_system. - Import the provided SQL file (
library.sql) into thelibrary_management_systemdatabase.
- Create a new database named
-
Open the project in your Java IDE (e.g., IntelliJ IDEA, Eclipse).
-
Configure the MySQL database connection:
- Create a file named
database.propertiesin the root folder of the project. - Add the database name, username and password as shown below:
db.name=library_management_system db.username=your_username db.password=your_password - Create a file named
-
Build and run the project.
- Launch the application.
- Log in using
adminas username andadminas the password for the admin account. - Use the various features provided by the library management system to manage books, borrowers, and transactions.


