Hexagonal
Code Generator
Generate REST API with CRUD operations
You can generate REST API with CRUD operation using the following command:
🔆 You should run the following command from within the generated project folder.
yo springboot-hexagonal:hexagonal Customer
Customer will be the name used in DTOs, Mappers and Models
This will generate:
JPA entity
Spring Data JPA Repository
Service
Spring MVC REST Controller with CRUD operations
Unit and Integration Tests for REST Controller
Flyway migration to create table
Last updated