Giter VIP home page Giter VIP logo

library-management-system's Introduction

Library Management System

This project implements a comprehensive library management system to efficiently handle book management, patron management, and lending management tasks. Below are the detailed specifications and functionalities of the system.

Models:

  1. Book:

    • Fields:
      • ID (Auto Increment)
      • Title
      • Author
      • Genre
      • Publication Date
      • ISBN
    • Relationships:
      • Many-to-many with Author and Genre.
  2. Author:

    • Fields:
      • ID (Auto Increment)
      • Name
  3. Genre:(enum)

  4. Patron:

    • Fields:
      • Patron ID
      • Name
      • Email
      • Registration Date
  5. Lending:

    • Fields:
      • Lending ID
      • Book ID
      • Patron ID
      • Date Borrowed
      • Due Date

Requests:

  1. Book Management: \

    • GET:
      - By Title: /book/title/{title}
      - By Author: /book/author/{author}
      - By Genre: /book/genre/{genre}
      - All: /book\

    • POST: /book\

    • PUT: /book/{id}\

    • DELETE: /book/{id}

  2. Author Management:\

    • GET:\

      • All: /author\
    • POST: /author\

    • PUT: /author/id\

    • DELETE: /author/id

  3. Patron Management:\

    • GET:\

      • By Id: /patron/id\
      • All: /patron\
    • POST: /patron\

    • PUT: /patron/{id}\

    • DELETE: /patron/{id}

  4. Lending Management:\

    • GET:\

      • By Id: /lending\
      • By Patron ID: /lending/patron/{patronId}\
      • By Book Title: /lending/book/{bookTitle}\
      • By Lending Date: /lending/lendingDate/{lendingdate}\
      • By Due Date: /lending/dueDate/{dueDte}\
      • By Status: /lending/status/{status}\
      • All: /lending\
    • POST: /lending\

    • PUT: /lending/{id}\

    • DELETE: /lending/{id}

Functionalities:

  1. Book Management:

    • CRUD operations for Books.
    • Ability to search books by title, author, or genre.
  2. Patron Management:

    • CRUD operations for Patrons.
    • List all books borrowed by a specific patron.
  3. Lending Management:

    • Check-out and check-in of books.
    • View all active lendings.

Project Details:

  • RESTful API: Implemented using Spring Boot framework to facilitate easy integration and communication with other systems.
  • Database: Utilizes MySQL Database to store and manage data effectively.
  • Cardinality Rules: Handled between models to ensure consistency and integrity of data relationships.
  • ORM (Object-Relational Mapping): Utilizes Hibernate for seamless interaction between Java objects and relational database tables.
  • Logging: Logging functionality is added for each CRUD operation to maintain an audit trail and facilitate debugging.

Setup and Usage:

  1. Clone the Repository: Clone this repository to your local machine.
  2. Set Up Database: Create a MySQL database and configure the connection details in application.properties file.
  3. Run the Application: Execute the Spring Boot application to start using the library management system.

library-management-system's People

Contributors

neeldholiya04 avatar kauxp avatar chay2203 avatar manish-gitx avatar

Forkers

kauxp

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.