{"id":29146004,"url":"https://github.com/thetoriqul/library-management-system","last_synced_at":"2025-06-30T21:10:16.866Z","repository":{"id":278207816,"uuid":"914414015","full_name":"TheToriqul/library-management-system","owner":"TheToriqul","description":"A modern, efficient C++ library management system with file-based storage and an intuitive command-line interface.","archived":false,"fork":false,"pushed_at":"2025-02-18T14:57:24.000Z","size":355,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T15:47:53.451Z","etag":null,"topics":["cpp"],"latest_commit_sha":null,"homepage":"https://thetoriqul.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheToriqul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-09T14:52:11.000Z","updated_at":"2025-02-18T14:57:27.000Z","dependencies_parsed_at":"2025-02-18T15:47:56.554Z","dependency_job_id":"6bc7b06d-ba2b-40fd-a345-dbc03a6b2f56","html_url":"https://github.com/TheToriqul/library-management-system","commit_stats":null,"previous_names":["thetoriqul/library-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheToriqul/library-management-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheToriqul%2Flibrary-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheToriqul%2Flibrary-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheToriqul%2Flibrary-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheToriqul%2Flibrary-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheToriqul","download_url":"https://codeload.github.com/TheToriqul/library-management-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheToriqul%2Flibrary-management-system/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262850294,"owners_count":23374357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp"],"created_at":"2025-06-30T21:10:15.522Z","updated_at":"2025-06-30T21:10:16.841Z","avatar_url":"https://github.com/TheToriqul.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 Library Management System\n\n\u003cdiv align=\"center\"\u003e\n\n[![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://github.com/TheToriqul/library-management-system)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/TheToriqul/library-management-system/blob/main/LICENSE)\n[![C++](https://img.shields.io/badge/C++-17-blue.svg)](https://isocpp.org/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/TheToriqul/library-management-system/pulls)\n\nA modern, efficient C++ library management system with file-based storage and an intuitive command-line interface.\n\n[Explore Demo](#usage) • [View Documentation](./docs/) • [Report Bug](https://github.com/TheToriqul/library-management-system/issues) • [Request Feature](https://github.com/TheToriqul/library-management-system/issues)\n\n\u003c/div\u003e\n\n## ✨ Features\n\n🔹 **Book Management**\n\n- 📝 Add new books with automatic ID generation\n- 🔍 Search books by ID with detailed display\n- 🔄 Update existing book information\n- 🗑️ Delete books with safe record removal\n- 📋 Display all books with pagination\n\n🔹 **Data Validation**\n\n- ✅ Title length validation (3-49 characters)\n- ✅ Author name verification (letters and spaces only)\n- ✅ Price range checks (0.01-9999.99)\n- ✅ Quantity limits (0-999)\n- ✅ Automatic status updates based on quantity\n\n🔹 **File Operations**\n\n- 💾 Binary file storage for efficiency\n- 🛡️ Safe file handling with error checking\n- 🔄 Automatic database creation\n- ✅ Data consistency maintenance\n\n## 🏗️ Project Architecture\n\n\u003cfigure \u003e\n  \u003cp align=\"center\"\u003e\n      \u003cimg src=\"./architecture.svg\" alt=\"project architecture\" /\u003e\n      \u003cp align=\"center\"\u003eFigure: Library Management System Project Architecture\u003c/p\u003e \n  \u003c/p\u003e\n\u003c/figure\u003e\n\n## 🔧 System Requirements\n\n- C++ Compiler (GCC 4.9 or later)\n- CMake 3.5.0 or later\n- 512MB RAM minimum\n- 50MB free disk space\n- Operating System: Windows, Linux, or macOS\n\n## 📁 Project Structure\n\n```\nLibrarySystem/\n├── src/\n│   ├── main.cpp           # Main program entry\n│   ├── library.cpp        # Implementation file\n│   ├── library.h          # Header file\n│   ├── Makefile           # Build configuration\n│   ├── CMakeLists.txt     # Build configuration for CMakeLists\n│   └── books.dat          # Book records\n├── docs/\n│   ├── user_manual.txt    # User guide\n│   ├── sample_output.md   # Sample output screenshots lookalike\n│   └── screenshots/       # Program screenshots\n│    ├── AddBooks.png     # Screenshots\n│    ├── SearchBooks.png  # Screenshots\n├── report/\n│    └── project_report.docx\n└── README.md              # This file\n```\n\n## 🚀 Quick Start\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/TheToriqul/library-management-system.git\n   cd library-management-system\n   ```\n   Follow the [user manual](./docs/user_manual.txt)\n\n## 📖 Documentation\n\n### Usage\n\n1. Navigate to the src directory:\n\n   ```bash\n   cd LibrarySystem/src\n   ```\n\n2. Compile the program using make:\n\n   ```bash\n   make\n   ```\n\n   This will compile the source files and create the 'library' executable.\n\n3. Run the program:\n\n   ```bash\n   ./library\n   ```\n\n4. Navigate through the intuitive menu system:\n   ```\n   =======================================\n          LIBRARY MANAGEMENT SYSTEM\n   =======================================\n   1. Add New Book\n   2. Search Book\n   3. Update Book\n   4. Delete Book\n   5. Display All Books\n   6. Exit\n   =======================================\n   ```\n\n### 💡 Input Guidelines\n\n| Field    | Requirements                  |\n| -------- | ----------------------------- |\n| Title    | 3-49 characters               |\n| Author   | 2-29 characters, letters only |\n| Price    | 0.01 - 9999.99                |\n| Quantity | 0 - 999                       |\n\n## 🤝 Contributing\n\nWe welcome contributions! Here's how you can help:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/TheToriqul/library-management-system/blob/main/LICENSE) file for details.\n\n## 👤 Author\n\n**Toriqul Islam**\n\n- GitHub: [@TheToriqul](https://github.com/TheToriqul)\n- Website: [thetoriqul.com](https://thetoriqul.com)\n- LinkedIn: [Toriqul Islam](https://www.linkedin.com/in/thetoriqul/)\n\n## 🌟 Acknowledgments\n\n- Project structure inspired by modern C++ best practices\n- File handling approach based on standard library implementations\n- Input validation techniques from industry standards\n\n## 📬 Contact\n\nHave questions? Feel free to reach out:\n\n- Email: toriqul.int@gmail.com\n- Phone: +65 8936 7705, +8801765 939006\n\n---\n\n\u003cdiv align=\"center\"\u003e\n⭐ Star us on GitHub — it helps!\n\n[Report Bug](https://github.com/TheToriqul/library-management-system/issues) • [Request Feature](https://github.com/TheToriqul/library-management-system/issues)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetoriqul%2Flibrary-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthetoriqul%2Flibrary-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetoriqul%2Flibrary-management-system/lists"}