Custom Spring Initializer


Typically, REST developers use Spring Initializr to create the initial setup. 

This comes as a web based UI mainly which provides the ability to create a new Spring Boot project using dependencies available and download the project created as a zip. So we don’t have to create it from scratch. All the basic structure of the project is already there in this downloaded zip. Spring Initializer comes as IDE plugins. 

Why do we need to create our own Spring Boot Server?

  • In order for a large team to work on microservices architecture, it must constantly build Spring Boot projects / libraries. Having a custom spring initiator enables developers to generate projects / libraries where they don't have to worry about package name, project name conventions, etc.
  • You can configure the dependency list to suit your needs by overriding or using the default dependency list.
  • The project version, build tool type, Java version, project descriptions etc are definable, so there is no problem remembering these things.


Conclude:

Simply put, by using a custom spring initiator, you can have your team members follow agreed guidelines for project generation, allowing them to focus on real development.

In application.yml we override default spring initializer configuration.
Go to source code

Comments

Popular posts from this blog

Debug Java Stream in Intellij Idea

Creating Efficient Docker Images with Spring Boot 2.3

CRUD Goes Even Easier With JPABuddy