Skip to content

Lukas249/Library-Resource-Management-Spring-Boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Resource Management

📚 Library Resource Management

A Spring Boot 3.4.5 application for managing a library system with H2 Database, Thymeleaf, and Spring Security. Supports three roles (Owner, Admin, User) and provides a full set of CRUD operations with filtering, searching, and sorting.

🚀 Tech Stack

  • Java 17

  • Spring Boot 3.4.5

  • Spring Web

  • Spring Data JPA

  • Spring Security

  • Thymeleaf

  • H2 Database (in-memory)

👥 Roles & Permissions

👑 Owner (super-role)

  • Full unrestricted access

  • Manage admins and users

  • Configure application-level settings

  • Access to all resources

🔑 Admin

  • Manage library resources (Authors, Books, Readers, Publishers, Genres, Borrow Book, Stats)

  • Cannot manage owners or other admins

  • Cannot change system-level settings

📖 User

  • Access to the same tabs as admin (Authors, Books, Readers, Publishers, Genres, Borrow Book, Stats)

  • Limited rights depending on business rules (e.g., can borrow books, view stats, possibly edit own records)

📂 Features by Tab

Every tab supports the same set of operations:

  • CRUD (Create, Read, Update, Delete)

  • Search (by text fields such as names, titles, etc.)

  • Sort (by attributes like date, name, author, etc.)

  • Filter (by genre, publisher, status, etc.)

Tabs available:

  • Authors

  • Books

  • Readers

  • Publishers

  • Genres

  • Borrow Book

  • Stats

Access application

📸 Screenshots

🔐 Login

The application uses Spring Security for authentication. Users must log in to access the library resources based on their roles (Owner, Admin, User).

Login Page

👑 Owner Dashboard

View of the owner with full access to all tabs and the ability to manage admins and users.

Owner Dashboard

🔑 Admin Dashboard

View of the admin with full access to library resources, but without the ability to manage other Admins.

Admin Dashboard

📖 User Dashboard

View of the user with access to authors, books, readers, publishers, genres, the ability to borrow books, and view statistics.

User Dashboard

📊 Stats with Chart.js

Library statistics overview.

Stats with Chart.js

About

Library system with role-based access, full CRUD operations, filtering, searching, and sorting, supporting management of authors, books, readers, publishers, genres, borrowing, and statistics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors