The Library Management System is a web application designed to facilitate the management of books in a library. It allows users to borrow books, track overdue items, and identify popular books based on borrowing statistics. This project aims to streamline library operations and provide valuable insights into book usage.
- User Registration: Users can register to borrow books.
- Book Borrowing: Users can submit a form to borrow books.
- Track Borrowed Books: The system keeps a record of all borrowed books.
- Statistics: Query functionality to retrieve statistics such as overdue books and popular titles.
- Responsive Design: The application is built to be user-friendly and responsive across different devices.
- Frontend: HTML, CSS
- Backend: Node.js, JavaScript
- Database: MySQL
- Libraries/Frameworks: Bootstrap, Postman
/library-management-system ├── /database │ ├── create_schema.sql │ └── insert_data.sql ├ |── /queries │ ├── overdue_books.sql │ ├── popular_books.sql │ └── [other queries] ├── /frontend │ ├── /css │ └── style.css ├── /js │ └── script.js └── confirmation.js ├── /html │ └── index.html └── confirmation.html └── README.md
- Node.js
- MySQL
-
Clone the repository:
git clone https://github.com/yourusername/library-management-system.git
-
Navigate to the project directory:
cd library-management-system
-
Install the required npm packages
npm install
-
Set up your MySQL database: Create a new database. Run the create_schema.sql script to create necessary tables. Run the insert_data.sql script to populate initial data. Configure your database connection in frontend/script.js.
-
Start the application:
node frontend/script.js
Access the application at http://localhost:3000 (or your configured port).