Skip to content

๐Ÿ“š A simple Java-based system for managing books, members, and borrowing/returning functionality in a library.

License

Notifications You must be signed in to change notification settings

janavigopu/Library-Management-System-JAVA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š Library Management System

๐Ÿ“ Overview

A simple Library Management System built using Java that allows members to borrow and return books, while a librarian can manage books and view member details. The system keeps track of book availability and enforces borrowing limits.

โœจ Features

๐Ÿ“– Book Management: Add new books to the library.

๐Ÿ‘ฅ Member Management: View and manage registered members.

๐Ÿ”„ Borrowing System: Members can borrow up to two books at a time.

๐Ÿ“ฆ Return System: Members can return borrowed books.

๐Ÿ”‘ Librarian Portal: Allows the librarian to add books and view members.

๐Ÿ–ฅ Console-Based Interface: Interactive menu-driven system.

๐Ÿ“Š Class Diagram

Class diagram

๐Ÿ“Œ Note: The class diagram illustrates the structure of the Library Management System. The Library class contains references to Book and Member objects. The Book class manages book details and availability. The Member class tracks borrowed books, and the Librarian class provides functionalities to add books and view members.

๐Ÿ–ฅ Interface

Interface1 Interface2 Interface3

๐ŸŽญ Actors

  1. Member
  2. Librarian

๐Ÿ“‹ Use Cases

๐Ÿ“– View Library Details

Actors: Member, Librarian Description: Displays the list of books available in the library along with their status.

๐Ÿ”„ Borrow a Book

Actors: Member Description: Allows a member to borrow a book if it's available and if they haven't exceeded their borrowing limit.

๐Ÿ“ฆ Return a Book

Actors: Member Description: Enables a member to return a previously borrowed book.

โž•๐Ÿ“– Librarian Adds a Book

Actors: Librarian Description: Allows a librarian to add new books to the library system.

๐Ÿ‘ฅ Librarian Views Members

Actors: Librarian Description: Displays details of all registered library members and their borrowed books.

โŒ Exit the System

Actors: Member, Librarian Description: Closes the system when the user chooses to exit.

๐Ÿš€ How to Run

1. Clone the repository

git clone https://github.com/janavigopu/LibraryManagementSystem.git

2. Navigate to the project folder

cd LibraryManagementSystem

3. Compile and run the Java program

javac LibraryManagementSystem.java java LibraryManagementSystem

๐Ÿ”ฎ Future Enhancements

๐Ÿ—„ Implement a database for book and member records.

๐Ÿ–ฅ Add a GUI interface for a better user experience.

โš  Implement exception handling for better error management.

๐Ÿ“ˆ Extend the system to support more books and members dynamically.

๐Ÿค Contributing

Feel free to fork the repository and submit pull requests with improvements!

๐Ÿ“œ License

This project is licensed under the MIT License.