Skip to content

About

πŸ“š Library Management System API: A backend solution for managing books, members, and borrow records with πŸ”‘ UUIDs for unique IDs, πŸ› οΈ Prisma ORM for database handling, and πŸ—„οΈ PostgreSQL. It supports πŸ“‹ CRUD operations, πŸ”„ borrowing/returning books, ⏰ overdue tracking, and follows a 🌐 RESTful structure for easy integration.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System API

The Library Management System API is a backend service developed to streamline and manage library operations, enabling library staff and members to handle books, memberships, and borrowing activities efficiently. This API provides a structured set of endpoints for CRUD operations on books, members, and borrow records, with specialized functionality to support borrowing and returning books. Unique identifiers are managed using UUIDs for secure and reliable identification across the system.

πŸ”§ Key Technologies

  • πŸ”‘ UUIDs: Ensures unique identification across all tables for data integrity.
  • πŸ”— RESTful API Structure: Follows REST conventions for consistency and easy integration.
  • πŸ› οΈ Prisma ORM: Used for database interaction, providing an intuitive and type-safe way to interact with PostgreSQL.
  • πŸ—„οΈ PostgreSQL: A relational database used for efficient data management of books, members, and borrow records.

βš™οΈ Setup Instructions

Follow these steps to install and run the application:

  1. πŸ“₯ Download the Code:

    • You can either download the ZIP file from the repository and extract it, or use the following command to clone the repository via the CLI:
      git clone <repository-url>
  2. πŸ“‚ Navigate to the Project Directory:

    cd <project-directory>
    
  3. πŸ“¦ Inastall packages:

    npm install
  4. ▢️ Locally run the project:

    npm run dev

🌟 Key Features & Functionality

  • πŸ“š Book Management:

    • Add, view, update, and delete books in the library catalog, with information such as bookId, title, genre, publishedYear, totalCopies, and availableCopies.
  • πŸ‘₯ Member Management:

  • Add, view, update, and delete books in the library catalog, with information such as memberId, name, email, phone, and membershipDate.

  • πŸ”„ Borrowing System:

    • Borrow and return books.
    • Automatically update book or returning.
    • Track due dates for borrowed books, and identify overdue returns.
  • ⏰ Overdue Tracking:

    • Track borrowed books that have not been returned within 14 days.
  • πŸ’Ύ Database Integration with Prisma and PostgreSQL:

    • Utilize Prisma ORM for efficient, type-safe database interaction with a PostgreSQL database backend.
    • Ensure reliable data management of books, members, and borrow records, with UUIDs for unique identification.
  • 🌐 RESTful API Structure:

    • Follows RESTful principles for clear and consistent endpoints, making the API easy to integrate and extend.

These features provide a complete solution for managing library operations, supporting library staff in tracking books, members, and borrowing activities efficiently.

About

πŸ“š Library Management System API: A backend solution for managing books, members, and borrow records with πŸ”‘ UUIDs for unique IDs, πŸ› οΈ Prisma ORM for database handling, and πŸ—„οΈ PostgreSQL. It supports πŸ“‹ CRUD operations, πŸ”„ borrowing/returning books, ⏰ overdue tracking, and follows a 🌐 RESTful structure for easy integration.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages