Skip to content

Library System (Spring Boot) A backend application to manage library operations including book management, user management, and book issue/return workflow. Built with Spring Boot, it exposes RESTful APIs for integration with any front-end. It can work with H2 (default) or MySQL.

Notifications You must be signed in to change notification settings

dehlawi96/Library-System-SpringBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library System (Spring Boot)

A backend Library Management System built using Spring Boot and Java.
This project provides RESTful APIs to manage books, users, and the issue/return process.

Features

  • CRUD operations for books and users
  • Issue and return books
  • Spring Boot REST API
  • Easy database configuration

Technology Stack

  • Java
  • Spring Boot
  • Spring Data JPA
  • Maven
  • H2 Database (default, can switch to MySQL)
  • Optional: Lombok for reducing boilerplate

Setup Instructions

Prerequisites

  • Java 11+
  • Maven
  • Git

Steps

  1. Clone the repository
    git clone https://github.com/dehlawi96/Library-System-SpringBoot.git
    cd Library-System-SpringBoot
    
  2. Build the Project
    mvn clean package
    
  3. Run the application
    mvn spring-boot:run
    
  4. By default, it uses an H2 in-memory database. You can configure MySQL by editing application.properties.

API Endpoints(Examples) GET /books – List all books

POST /books – Add a new book

PUT /books/{id} – Update a book

DELETE /books/{id} – Delete a book

POST /issue – Issue a book to a user

POST /return – Return a book

(Adjust endpoints based on your actual controller paths.)

Contributing

Contributions are welcome.

  1. Fork the repo

  2. Create a feature branch

  3. Commit changes

  4. Push to your branch

  5. Open a pull request

About

Library System (Spring Boot) A backend application to manage library operations including book management, user management, and book issue/return workflow. Built with Spring Boot, it exposes RESTful APIs for integration with any front-end. It can work with H2 (default) or MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published