Spring Hexagonal
  • 🏠Home
  • 🚀 Get Start
  • ⚙️Generators
    • Hexagonal
    • Kubernetes
    • React
    • Rabbit MQ
    • Security
  • 📔Release Notes
  • 🎯Roadmap
  • 📝What is hexagonal architecture?
Powered by GitBook
On this page
  1. Generators

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

PreviousGeneratorsNextKubernetes

Last updated 2 years ago

⚙️