An open API service indexing awesome lists of open source software.

https://github.com/diamond2016/spring6-rest-mvc

RestFul services into context of a Java SpringBoot application
https://github.com/diamond2016/spring6-rest-mvc

docker lombok-maven mapstruct-springboot mockmvc restful-api spring springboot3

Last synced: about 1 month ago
JSON representation

RestFul services into context of a Java SpringBoot application

Awesome Lists containing this project

README

          

### Spring Framework 6
**RESTful in Spring Boot**

- Use project Lombok and Mockito for tests
- Created with Spring initializer java 21 maven & dependencies Spring Boot Web
- Jpa and Mapstruct for entities management
- H2 database
- Written in VsCode
- Support for containerization with Docker

1. New project (initializer spring)
2. models, services and controllers via Lombok annotations
3. Services RESTful, tested with Postman (Service e Controller: Beer)
4. Services RESTful, (Service e Controller: Customer)
5. Test of controllers via mockmvc

From Spring Framework 6: Beginner to Guru course [rest-mvc](https://github.com/springframeworkguru/spring-6-rest-mvc)

10.10.2025
Upgrade of project to Spring Boot 3.5.0 has been successful, and MapStruct (1.6.0) and Lombok configurations

20.11.2025
Introduced MySql and a new profile to switch between H2 or MYSQL

22.11.2025
Due to the new release of Spring Boot 4 and Spring framework 7 I'll create a new project:[new-rest-mvc](https://github.com/diamond2016/spring-7-rest-mvc)