Skip to content

satti-112/Library-Management-system

Repository files navigation

Library Management System (Java)

Java Status Type

A console-based Library Management System built using Java to manage books, members, and issue/return operations.
This project uses in-memory storage (✅ no file handling, ✅ no CSV, ✅ no database).


Table of Contents


Features

  • Add and manage books
  • Add and manage members
  • Issue books to members (availability checks)
  • Return issued books
  • Display/search listings (based on your menu)

Keep only the features that exist in your code to make the README fully accurate.


Tech Stack

  • Language: Java
  • Application Type: Console (CLI)
  • Storage: In-memory (data resets after program ends)

How It Works

The system typically follows a menu-driven flow:

  1. User selects an option (Add Book / View Books / Issue / Return / Exit)
  2. Program validates input (IDs, availability, etc.)
  3. Updates in-memory records for books/members/issued status

Getting Started

Prerequisites

  • Java JDK 8+ (recommended: JDK 17+)
  • Any IDE (IntelliJ / Eclipse / VS Code) or terminal

Clone the Repository

git clone https://github.com/satti-112/Library-Management-system.git
cd Library-Management-system

Run the Project

Option A: Run in an IDE (Recommended)

  1. Open the project in IntelliJ / Eclipse.
  2. Find the class that contains:
    public static void main(String[] args)
  3. Click Run.

Option B: Run from Terminal (Works for most simple Java projects)

If your .java files are inside src/, use these commands:

Compile

javac -d out $(find src -name "*.java")

Run

java -cp out Main

If your main class is NOT named Main

Replace Main with your main class name:

java -cp out YourMainClassName

If your project does not have a src/ folder and the .java files are in the root directory, tell me and I’ll adjust the commands.


Project Notes

  • ✅ No file handling (no read/write)
  • ✅ No CSV storage
  • ✅ No database connection
  • Data is stored temporarily in memory, so it resets when the program stops

Future Improvements

  • Add database support (MySQL / SQLite)
  • Add due dates + fine calculation
  • Add login system (Admin/User)
  • Add GUI (JavaFX/Swing)
  • Add unit tests (JUnit)

Tags (Topics)

Add these GitHub Topics to your repository (GitHub → Repo → Settings → Topics):

  • java
  • library-management-system
  • console-app
  • cli
  • oops
  • mini-project
  • student-project
  • data-structures (only if you used them meaningfully)

Author

satti-112
Repository: https://github.com/satti-112/Library-Management-system

About

This is a simple library management Program in java .Very fundamentals concepts are used loops , string, arrays ,exception handling and File handling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages