Bookstore – Product Service
One of three Spring Boot microservices in a bookstore system: product listing, dynamic search and checksum-verified file uploads.
role=Microservices course projectperiod=Sep 2023 – Jun 2024
- Java
- Spring Boot
- JPA
What it does
The bookstore is split into three independent backend services: Auth, Product and Third-party. I built the Product Service.
How it is built
- Layered REST service. Product listing, creation and search endpoints in Spring Boot, split into controller, service, repository, DTO and mapper layers, with a consistent response wrapper.
- Dynamic search. Title and author filtering with JPA Specification: case-insensitive partial matching and pagination, with filters composed at runtime instead of one query method per combination.
- File upload with integrity check. Accepts Base64-encoded multi-file uploads and verifies each file’s SHA-256 checksum before saving it to a configurable storage path.