Skip to content

A bookstore backend system built with Spring Boot, JWT security, MySQL, and Docker, featuring role-based access, book management.

Notifications You must be signed in to change notification settings

prince-63/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Bookstore Backend - Spring Boot Project

A production-grade Bookstore backend built with Java, Spring Boot, MySQL, and JWT-based Security. It allows users to register, log in securely, and browse books by category or author. Admins can manage books, authors, and categories. Users can also download book files (PDFs) directly.

This project is built to simulate a real-world online bookstore backend and is structured to demonstrate production-quality development skills.

Click to See Preview

πŸ”§ Tech Stack

  • Java 21, Spring Boot 3
  • Spring Security + JWT
  • Spring Data JPA (Hibernate)
  • MySQL, Maven
  • Cloudinary (file/image uploads)
  • Swagger (OpenAPI docs)

πŸ” Auth & Access

  • JWT-secured endpoints
  • Role-based authorization (USER, ADMIN)

πŸ“‘ API Documentation

  • Visit Swagger UI for all API documentation and testing: http://localhost:8080/swagger-ui.html
  • Automatically generated using springdoc-openapi

πŸ“¦ Features

  • πŸ‘₯ User & Admin registration/login
  • πŸ“š CRUD for Book, Author, and Category
  • ☁️ Upload and download book files and cover images

🧾 Modules

  • User, Address, Book, Author, Category
  • Organized by controllers, services, repositories, dto, models, config

πŸš€ Run Locally

mvn clean install
mvn spring-boot:run

About

A bookstore backend system built with Spring Boot, JWT security, MySQL, and Docker, featuring role-based access, book management.

Topics

Resources

Stars

Watchers

Forks