This project is maven archetype for helping generate spring boot template in BE side.
-
Clone this repository
-
Running
mvn clean install
and verify installed dependency in~/.m2/repository/io/github/brightkut/zeldra
-
Running command
mvn archetype:generate \
-DarchetypeGroupId=io.github.brightkut \
-DarchetypeArtifactId=zeldra \
-DarchetypeVersion=1.0
- Input this field in this format when running generated command
--- Example ---
'groupId': com.disorn
'artifactId': sample-service
'port': 8089
'className': Sample
'package': com.disorn.sampleservice
.
├── compose.yaml
├── pom.xml
└── src
├── main
│ ├── java
│ │ └── com
│ │ └── brightkut
│ │ └── $artifactId
│ │ ├── SampleSpringbootApplication.java
│ │ ├── controller
│ │ │ └── SampleController.java
│ │ ├── dto
│ │ │ ├── SampleCreateRequest.java
│ │ │ ├── SampleResponse.java
│ │ │ └── SampleUpdateRequest.java
│ │ ├── entity
│ │ │ └── Sample.java
│ │ ├── exception
│ │ │ └── NotImplementException.java
│ │ ├── handler
│ │ │ └── GlobalExceptionHandler.java
│ │ ├── repository
│ │ │ └── SampleRepository.java
│ │ └── service
│ │ └── SampleService.java
│ └── resources
│ └── application.yml
└── test
└── java
└── com
└── brightkut
└── $artifactId
├── controller
│ └── SampleControllerTest.java
├── repository
│ └── SampleRepositoryTest.java
└── service
└── SampleServiceTest.java
https://central.sonatype.com/artifact/io.github.brightkut/zeldra/overview