Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBooot Microservice Generator bash scripts

The most lightweight way to generate microservices in SpringBoot: Version 0.0.1

Before you start you have to have created SpringBoot project with created models/entities in separate directory /model

module-directory/
│
├─ src/
│  ├─ main/
│  │  ├─ java/
│  │  │  ├─ com/
│  │  │  │  ├─ example/
│  │  │  │  │  ├── module/
│  │  │  │  │  │   └── Entity.java      # Entity class (can have any name)
│  │  │  │  │  ├── Application.java     # Main application class (can have any name)

How to use microservice-generator.sh?

  1. Put the scripts into the module/directory of your springboot service OR use argument with full path to this directory"
  • $ bash microservice-generator.sh "/d/My Directory/Projects/JavaProjects/LeetCode/myTest"
  • image
  1. After the first generation part the DTOs will be created. Not you can change them before continuing
  • image
  1. After adjusting the DTOs you can type Y/y to continue generator script. It will generate another part of the service
  • image

How to use test-generator.sh?

  1. Put the scripts into the module/directory of your springboot service OR use argument with full path to this directory"
  • $ bash test-generator.sh "/d/My Directory/Projects/JavaProjects/LeetCode/myTest"
  • image
  1. The objects used in test generated in a separate directory for easily changing them with the future changes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages