Configuration and Application Start-Up
Let’s explore the auto-configuration provided by Spring Boot and interact with the live app.
We'll cover the following...
SpringBootApplication annotation
Open the TodoApplication
class in the src/main/java/io/educative
package and check out the @SpringBootApplication
annotation.
Press + to interact
package io.educative;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;@SpringBootApplicationpublic class TodoApplication {public static void main(String[] args) {SpringApplication.run(TodoApplication.class, args);}}
This annotation contains a combination of the following three primary annotations: