Skip to content

sankaroffzl/library-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System

Spring Boot web app to manage books, members, and loans. Optional console UI is included in the codebase.

Run with Docker (no Java or Maven required)

Install Docker Desktop (or Docker Engine + Compose), then from this folder:

docker compose up --build

Open http://localhost:8080 in your browser.

  • Data is stored in a Docker volume named library-data (survives container restarts).
  • Stop with Ctrl+C or docker compose down (volume is kept; add -v to remove data).

Build and run without Compose

docker build -t library-management-system .
docker run --rm -p 8080:8080 -v library-data:/data -e LIBRARY_DATA_FILE=/data/library.dat library-management-system

Run locally (with Java 17+ and Maven)

mvn spring-boot:run

Then open http://localhost:8080.

Configuration

Setting Description
LIBRARY_DATA_FILE Path to the serialized data file (default in Docker: /data/library.dat)
server.port HTTP port (default 8080; set via SERVER_PORT env var in Spring Boot)

Tech stack

  • Java 17, Spring Boot 3, Thymeleaf
  • File-based persistence (Java serialization)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors