SPRING CONCEPTS
Auto-configuration
Spring Concepts / Auto-configuration
Auto-configuration supplies suitable infrastructure when its conditions are met.
Understand the idea
Boot considers classpath dependencies, configuration properties, and existing beans. A template engine dependency can trigger template configuration. Defining a supported custom bean can replace a corresponding default. This mechanism configures the framework rather than generating your application features.
A concrete example
Thymeleaf on classpath
→ template engine configuration
MongoDB starter + URI
→ MongoDB connection infrastructureIn the application
The labs provide their source classes and properties while Boot sets up the surrounding web and data infrastructure.
Having the server start does not prove the remote database connection or CRUD workflow works.