{"id":25452936,"url":"https://github.com/shadowwphoenix/library-management-system","last_synced_at":"2025-10-26T01:04:39.877Z","repository":{"id":268755289,"uuid":"750400000","full_name":"ShadowwPhoenix/Library-management-system","owner":"ShadowwPhoenix","description":"This Java project is a simple library management system allowing users to borrow, return, view books, search by author/title/code/subject, and add books to a cart for borrowing. It utilizes queues for user and cart management, with a basic console interface.","archived":false,"fork":false,"pushed_at":"2024-01-30T15:22:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T23:42:48.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShadowwPhoenix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-30T15:19:37.000Z","updated_at":"2024-01-30T15:20:27.000Z","dependencies_parsed_at":"2024-12-24T12:17:46.865Z","dependency_job_id":null,"html_url":"https://github.com/ShadowwPhoenix/Library-management-system","commit_stats":null,"previous_names":["shadowwphoenix/library-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadowwPhoenix%2FLibrary-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadowwPhoenix%2FLibrary-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadowwPhoenix%2FLibrary-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadowwPhoenix%2FLibrary-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShadowwPhoenix","download_url":"https://codeload.github.com/ShadowwPhoenix/Library-management-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535822,"owners_count":22087399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-17T23:41:57.127Z","updated_at":"2025-10-26T01:04:34.843Z","avatar_url":"https://github.com/ShadowwPhoenix.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project is a simple implementation of a library management system. Let's break down the components and functionality:\n\nComponents:\nNode Class: This class represents a node in a linked list. It holds information about a book such as its name, code, author, type, availability, and a reference to the next node.\n\nLibrary Class: The main class that orchestrates the library management system. It contains methods for adding books, borrowing books, returning books, displaying available books, searching for books, managing a user queue, managing a cart queue, and a main method to run the program.\n\nFunctionality:\nAdding Books (addBook method): Allows the addition of books to the library. Each book is represented as a node and added to the linked list.\n\nBorrowing Books (borrow method): Allows users to borrow books from the library. It checks if the book is available. If it's available, the book is marked as borrowed. If not, the user is added to a queue to wait for the book.\n\nReturning Books (Return method): Enables users to return books to the library. It marks the book as available for others to borrow.\n\nDisplaying Available Books (displayBooks method): Shows the list of books available in the library.\n\nSearching for Books (searchBook method): Allows users to search for books based on different criteria such as author, title, code, or subject. Users can add searched books to their cart for borrowing.\n\nManaging User Queue (addToUserQueue method): Manages a queue for users who want to borrow books that are currently unavailable.\n\nManaging Cart Queue (cart method): Manages a queue for books that users want to borrow. Users can add books to their cart and borrow them collectively.\n\nUser Interaction:\nThe program interacts with users through the console. It provides a menu-driven interface where users can choose options such as borrowing, returning, viewing available books, searching for books, viewing their cart, and leaving the system.\n\nMain Method:\nThe main method initializes the library with some predefined books and starts the user interaction loop.\n\nAdditional Notes:\nThe system appears to support multiple users, handling situations where a book might be unavailable due to being borrowed by someone else.\nThe borrowing process includes adding users to a queue if the desired book is not available immediately.\nThe system offers flexibility in searching for books by different attributes like author, title, code, or subject.\nThere is a cart functionality allowing users to collect books they want to borrow before proceeding to borrow them.\nOverall, this project provides a basic framework for managing a library's book borrowing system in a console-based environment. It's a good starting point for expanding into more complex features like user authentication, book reservations, due date tracking, etc., for a real-world library management system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowwphoenix%2Flibrary-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowwphoenix%2Flibrary-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowwphoenix%2Flibrary-management-system/lists"}