Skip to content

Boilerplate generator for controller, service and repository classes

Notifications You must be signed in to change notification settings

lKhanl/spring-controller-service-repo-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Controller-Service-Repository Generator

Description

  • This project uses spring shell.
  • This is a simple tool to generate a Spring Controller-Service-Repository project.
  • You can use it to generate a project with a controller, service and repository for a given name.
  • You can add to path of exacutable file in your .bashrc or .zshrc file to use it from anywhere.
  • If your subdirectories do not have any named 'controller', 'service' or 'repository' directory, then create first by hand.

How to run

$ ./mvnw -Pnative native:compile -DskipTests=true

Usage

To create a controller :

$ ./target/spring-generator c date

To create a service :

$ ./target/spring-generator s date

To create a repository :

$ ./target/spring-generator r date

About

Boilerplate generator for controller, service and repository classes

Topics

Resources

Stars

Watchers

Forks

Languages