Spring Boot and Java deep dives
gRPC Product API
A Spring Boot 4.1 gRPC service for product CRUD and stock adjustment on Postgres, the backend behind the Products REST BFF.
View code on GitHubGoals
- Product CRUD and stock adjustment over gRPC (
:9090) - Spring Data JPA + Flyway on PostgreSQL
- Actuator health on HTTP
:8080 - The full stack runs with one
docker compose up --build -d
How it fits
This is the server half. Products REST BFF over gRPC is the client that
exposes it as /api/products.
Tech stack
Java 21, Gradle, Spring Boot 4.1 (spring-boot-starter-grpc-server), PostgreSQL, Docker Compose.
Changelog
- 2026-09-16: Built