Git Product home page Git Product logo

library-management-system-main's Introduction

Library Management System

Overview

The Library Management System is a JavaScript-based application designed to manage book inventories within a library. It facilitates the addition of new books, handling of borrowings and returns, and querying of book details.

Features

  • Add Books: Ability to add new books to the library with title and author.
  • Borrow Books: Functionality to check out books from the library.
  • Return Books: Feature to return books back to the library.
  • Query Book Details: Retrieve details of any book in the library.
  • List All Books: View a list of all books currently in the library.

Getting Started

To use the Library Management System, import the Library class from the provided module and instantiate it:

const { Library } = require('./library');
const library = new Library();

Functionalities

  1. Add a Book
  • Use library.addBook(title, author) to add a new book.
  1. Borrow a Book
  • Use library.borrowBook(bookId) to borrow a book.
  1. Return a Book
  • Use library.returnBook(bookId) to return a book.
  1. Get Book Details Use library.getBookDetails(bookId) to get details of a book.
  2. List All Books
  • Use library.listAllBooks() to list all books.

Known Issues

  1. There have been observations of multiple entries of the same book in the catalog. How could this be possible?
  2. Reports suggest that books on loan have disappeared from records. Accurate record-keeping for books on loan is essential.
  3. The system currently does not track who borrows books, which is a critical missing feature.
  4. Though the number of books stored in the library is pretty low, the book IDs are very large. What could cause this and how can it be fixed?

library-management-system-main's People

Contributors

devbajaj02 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.