The important parts of the Java source code are as follows:
- StoreApp.java: This is the main entry class for the application. Since this is a Spring Boot application, the main class is executable and you can start the application by running this class from an IDE. Let's take a look at this class:
- The class is annotated with a bunch of Spring JavaConfig annotations:
@SpringBootApplication@EnableConfigurationProperties({LiquibaseProperties.class, ApplicationProperties.class})
-
- The first one, @SpringBootApplication, allows the required configurations for Spring to scan the source files and auto-detects Spring components (services, repository, resource, configuration classes that define Spring beans, and so on). It also tries ...