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- Java 21, Spring Boot 3
- Spring Security + JWT
- Spring Data JPA (Hibernate)
- MySQL, Maven
- Cloudinary (file/image uploads)
- Swagger (OpenAPI docs)
- JWT-secured endpoints
- Role-based authorization (USER, ADMIN)
- Visit Swagger UI for all API documentation and testing:
http://localhost:8080/swagger-ui.html - Automatically generated using springdoc-openapi
- π₯ User & Admin registration/login
- π CRUD for Book, Author, and Category
- βοΈ Upload and download book files and cover images
User,Address,Book,Author,Category- Organized by
controllers,services,repositories,dto,models,config
mvn clean install
mvn spring-boot:run