Spring Initializr: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 23: Line 23:
All these tools work by invoking into http://start.spring.io and downloading the project ZIP, which is subsequently expanded in the local workspace.
All these tools work by invoking into http://start.spring.io and downloading the project ZIP, which is subsequently expanded in the local workspace.


=Concepts=
=Spring Project Structure=
For both Maven and Gradle-based projects, the source code is placed under:
src/main/java
 
The test code is placed under:
src/test/java
 
The non-Java project resources are placed under:
src/main/resources
 
If the


=Procedures=
=Procedures=

Revision as of 05:10, 8 October 2018

External

Internal

Overview

Spring Initializr is a REST API that generates a skeleton Spring project structure, allowing you to customize the build system (Maven or Gradle), the project coordinates, the language and version, the packaging and the dependencies to add to the project. The API can be exposed as a service, and the publicly available default instance for the service, run by Pivotal, is available at https://start.spring.io/.

The API can be used standalone or embedded in other tools:

All these tools work by invoking into http://start.spring.io and downloading the project ZIP, which is subsequently expanded in the local workspace.

Spring Project Structure

For both Maven and Gradle-based projects, the source code is placed under:

src/main/java

The test code is placed under:

src/test/java

The non-Java project resources are placed under:

src/main/resources

If the

Procedures

Create a New Spring Boot Project with Spring Initializr from IntelliJ

Create a New Spring Boot Project with Spring Initializr from IntelliJ