Skip to main content

Command Palette

Search for a command to run...

Spring Boot Project Structure

Published
1 min read
M

Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).

Understanding the Anatomy of a Spring Boot Project:

  • src/main/java: Contains application source code.

  • src/main/resources: Configuration files (application.properties/yml) and static resources.

  • pom.xml or build.gradle: Build configuration file with dependencies and plugins.

Configuration Files and Important Directories:

  • application.properties or application.yml: Used for configuration settings.

  • static and templates: Directories for static content and template engine views like Thymeleaf.