CODESEEDSign in
Explore projects
Javabeginnerbackend

Library Management System

Book management system with Spring Boot: CRUD for books/authors/loans, validation, pagination, and CSV export.

5 steps

Project steps

  1. 01

    JPA Entities

    Book(isbn, title, author, year, available), Author, Loan(book, member, dueDate).

  2. 02

    REST API CRUD

    Controllers with @RestController for books, authors, loans with @Valid validation.

  3. 03

    Pagination & sorting

    Pageable in all listing endpoints.

  4. 04

    Business rules

    You cannot borrow an unavailable book; loans with a 14-day term.

  5. 05

    CSV Export

    GET /loans/export?status=overdue generates CSV with OpenCSV.

Recommended resources

Ready to build this?

Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.

5 steps

Tech stack

JavaSpring BootSpring Data JPAH2Lombok