ILS is an Integrated Library System designed to manage library operations such as cataloging, member management, borrowing, and returning items. This system is built using Java and provides a graphical user interface for ease of use.
- Member Management: Add, update, and retrieve member information.
- Staff Management: Add, update, and retrieve staff information.
- Item Management: Add, update, and retrieve information about books and DVDs.
- Borrowing and Returning: Manage borrowing and returning of items.
- Fine Management: Calculate and manage fines for overdue items.
- Logging: Log system activities and errors.
- Caching: Cache user login information for auto-login.
-
Clone the repository:
https://github.com/mthlpbs/Library-Management-System.git cd ILS
-
Set up the database:
- Ensure you have MySQL installed.
- Create a database named
ils
. - Import the database schema from
schema.sql
(if provided).
-
Configure the database connection:
- Update the database connection details in
db.java
if necessary.
- Update the database connection details in
-
Build the project:
- Open the project in your preferred IDE (e.g., IntelliJ IDEA, Eclipse, VS Code).
- Build the project to resolve dependencies.
-
Run the application:
- Execute the
Main
class to start the application. - If a user cache file exists, the system will attempt auto-login. Otherwise, the login window will be displayed.
- Execute the
-
Logging in:
- Enter staff ID as S00001 and password as 12345 to log in.
-
Managing items:
- Use the provided GUI to add, update, and retrieve information about books and DVDs.
-
Borrowing and returning items:
- Use the GUI to manage borrowing and returning of items.
- The system will automatically calculate fines for overdue items.