Skip to content

Jchare/Library-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library-System

A console-based Library Management System in Java using OOP and data structures. Overview The Library Managemnt System is a console-based java application designed to help users manage books efficiently. It supports features like adding, borrowing, returning...etc, while ensuring that data is consistently saved through file storage.

Table of Contents

Features

  • Add, borrow, return, and delete books.
  • Search by title, author, or ISBN
  • sort books by title or year
  • List Books from file(books.txt

Technologies Used

Language: Java Concepts: OOP(Encapsulation, Abstraction, Composition) Data Structures: ArrayList, Stack, Queue File Handling: Java I/O (FileReader, FileWriter, PrintWriter, BufferedReader) Exception Handling: Managment of inavalid inputs or missing files

Installation

  1. Clone Repository
  2. git clone https://github.com/Jchare/Library-System.git
     cd Library-System ```
    
  3. Compile the code javac *.java
  4. Run the Application java main

Usage

Once the program runs, you'll see a command-line menu. Choose an option to continue

Books loaded from file.

=== Library Management System ===
1. Add Book
2. Delete Book
3. Borrow Book
4. Return Book
5. List All Books
6. Sort Books by Title
7. Sort Books by Year
8. Search by Title
9. Search by Author
10. Search by ISBN
0. Exit
Enter your choice:

Future Improvements

  • Build a GUI using JavaFX or Swing
  • Replace text file storage with SQlite or Json database
  • Implement undo functionality using action history stack

License

This project is licensed under the MIT license.

Author Jamila C. Nchare Mail: Jamilachelsy53@icloud.com GitHub: github.com/Jchare

About

A console-based Library Management System in Java using OOP and data structures.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages