Understand the SpringBoot Java Template module structure
mainThe project is organized into functional modules designed to scale with your service. The structure is divided into several main categories:
- Core: Contains domain services.
core:core-api: The only executable module. It provides APIs and framework setup. It is structured with domains to maximize initial productivity.core:core-enum: Contains enums used bycore-apithat need to be shared with external modules.
- Clients: Handles integration with external systems.
clients:clients-example: Demonstrates HTTP communication usingSpring-Cloud-Open-Feign.
- Storage: Handles storage integration.
storage:db-core: DemonstratesMySqlconnectivity usingSpring-Data-JPA.
- Support: Provides cross-cutting concerns.
support:logging: Provides logging with distributed tracing andSentrysupport.support:monitoring: Provides service monitoring.
- Tests: Provides testing utilities.
tests:api-docs: Facilitates writingspring-rest-docs.