Scavenger233 / Library-Book-Management-Project

Project for dissertation, prototype for now.
0 stars 0 forks source link

Library Book Management System

A comprehensive library book management system built with Spring Boot, featuring full CRUD operations and an H2 in-memory database.

Table of Contents

About the Project

The Library Book Management System is a Spring Boot application designed to manage library book data. It allows users to create, read, update, and delete book records through a REST API. The application uses H2 as an in-memory database and provides endpoints for managing book information.

Technologies Used

Prerequisites

Ensure you have the following installed on your local development machine:

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/Scavenger233/Library-Book-Management-Project.git
    cd REST-API-Project
  2. Build the project using Maven:

    mvn clean install

Running the Application

You can run the application using one of the following methods:

API Documentation

Get All Books

Get a Book by ID

Create a New Book

Update an Existing Book

Delete a Book

Database Configuration

The application uses an H2 in-memory database. Configuration settings are located in the application.properties file.

H2 Console

You can access the H2 database console at the following URL:

http://localhost:8080/h2-ui

To log in:

Project Structure

src
├── main
│   ├── java
│   │   └── com
│   │       └── library
│   │           ├── controller
│   │           ├── model
│   │           ├── repository
│   │           └── service
│   └── resources
│       ├── application.properties
│       └── static
└── test

License

This project is licensed under the MIT License. See the LICENSE file for details.