Skip to content

The eBookShelf is a comprehensive and efficient full-stack web application designed to streamline the management of e-books in a digital library. This system is tailored for both library administrators , providing a seamless experience for managing, borrowing, and returning e-books.

Notifications You must be signed in to change notification settings

utsav4504/eBookShelf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eBookShelf

Table of Contents

Introduction

The eBookShelf is a comprehensive full-stack web application designed to manage books. The system allows administrators to browse, borrow, and return books, and to add and manage the collection.

Features

  • Borrow and return books
  • Manage users and books (Admin functionality)
  • Responsive and user-friendly interface

Technologies Used

Frontend

  • React.js
  • Axios for HTTP requests
  • Bootstrap for styling

Backend

  • Spring Boot
  • MySQL for the database
  • JPA/Hibernate for ORM

Other

  • Maven for project management
  • Git for version control

Installation

Prerequisites

  • React js and npm
  • Java JDK
  • Maven
  • MySQL

Backend Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/eBookLibrary.git
  2. Navigate to the backend directory:

    cd eBookShelf/backend
  3. Configure MySQL database:

    • Update the application.properties file with your database details:
      spring.datasource.url=jdbc:mysql://localhost:3306/library_db?serverTimezone=UTC
      spring.datasource.username=your_username
      spring.datasource.password=your_password
      spring.jpa.hibernate.ddl-auto=update
  4. Build and run the backend application:

    mvn spring-boot:run

Frontend Setup

  1. Navigate to the frontend directory:
    cd ../frontend
  2. Install dependencies:
    npm install
  3. Start the frontend application:
    npm start

Usage

  • Open your web browser and navigate to http://localhost:3000.
  • Browse the collection of e-books.
  • Borrow or return e-books as needed.
  • Admins can log in to add, edit, or delete e-books and manage user accounts.

API Endpoints

Books

  • GET /api/books - Get all books
  • POST /api/books - Add a new book
  • PUT /api/books/{id} - Update a book
  • DELETE /api/books/{id} - Delete a book
  • POST /api/books/{bookId}/borrow/{userId} - Borrow a book
  • POST /api/books/{bookId}/return - Return a book

Users

  • GET /api/users - Get all users
  • POST /api/users - Add a new user
  • DELETE /api/users/{id} - Delete a user

Contact

If you have any questions or suggestions, feel free to contact me at utsav45.jn@gmail.com.

About

The eBookShelf is a comprehensive and efficient full-stack web application designed to streamline the management of e-books in a digital library. This system is tailored for both library administrators , providing a seamless experience for managing, borrowing, and returning e-books.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published