Skip to content

This is a website for Librarian to use for Add book / Add Visitor / Add Card and set borrow date return date. which all the function can delete/view/edit and search

License

Notifications You must be signed in to change notification settings

sreyounpann/Librarian-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System

A web-based Library Management System to help librarians keep track of books, visitors, and lending activities.The website built using HTML , CSS(Boostraps framework), Javascript store in LocalStorage.

Table of Contents

Introduction

This Library Management System is designed to assist librarians in managing books, visitors, and lending activities. The system provides a user-friendly interface for performing various tasks such as adding/editing books, managing visitors, creating and updating lending cards, and viewing statistics.

Features

Books

  • View a list of all books.
  • Add a new book.
  • Edit existing books.
  • Delete existing books.
  • Sort and search books by title, author, or number of copies.

Visitors

  • View a list of all visitors.
  • Add a new visitor.
  • Edit existing visitors.
  • Sort and search visitors by ID or name.
  • Validate visitor data (required fields, valid phone number).

Cards

  • Create new lending cards.
  • Set return dates for returned books.
  • Decrease/increase the number of book copies when lending/returning.
  • Display only available books for lending (copies > 0).

Statistics

  • View the list of five most popular books.
  • View the list of five most active visitors.

Getting Started

  1. Clone the repositor.
  2. Open index.html in a web brower.

Usage

Follow the on-screen navigation to access different sections (Books, Visitors, Cards, Statistics) and perform relevant tasks.

Data Validation

  • All fields are required.
  • Numeric fields cannot contain negative values.
  • Phone numbers must contain only numbers, spaces, and dashes.

Entities

Book

Field Description
ID Unique identifier for each book.
Name Title of the book.
Author's Name Name of the book's author.
Year of Publishing The year when the book was published.
Publisher Name Name of the publisher.
Number of Pages Total pages in the book.
Copies in Library Quantity of copies available.

Visitor

Field Description
ID Unique identifier for each visitor.
Full Name Full name of the visitor.
Phone Number Contact number of the visitor.

Cards

Field Description
ID Unique identifier for each lending card.
Visitor's ID ID of the visitor associated with the card.
Book's ID ID of the book associated with the card.
Borrow Date Date when the book was borrowed.
Return Date Date when the book is expected to be returned.

Local-Storage

Data is stored in localStorage to persist information between sessions.

Live-Demo

https://main--comfy-rugelach-04af5c.netlify.app/

Screenshots

Include screenshots of the interface for Visitors and Cards, as shown in the provided variant.

Screenshot 2023-11-15 142857

1.0. Book Dashboard

Screenshot 2023-11-15 142842

1.1 Add Book Form

Screenshot 2023-11-15 143047 1.2 Visitor Dashboard

Screenshot 2023-11-15 143034

1.3 Add Visitor Form

Screenshot 2023-11-15 143223

1.4 Card Dashboard

Screenshot 2023-11-15 143246

1.5 Add Card Form(Visitor borrow the book)

Screenshot 2023-11-15 143508

1.6 View Books

Screenshot 2023-11-15 143521

1.7 Modify Book

Screenshot 2023-11-15 143605

1.8 Static Dashboard (Popular Books and Popular Visitors)

Contributing

  1. Form the repository.
  2. Create a new branch.
  3. Make your changes.
  4. Open a pull request.

License

This project is licensed under the Sreyoun Pann - see the LICENSE.md file for details.

 - 

About

This is a website for Librarian to use for Add book / Add Visitor / Add Card and set borrow date return date. which all the function can delete/view/edit and search

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published